<template>
  <div class="app-container">
    <el-card class="box-card">
      <div slot="header" class="clearfix">
        <span>时间：{{ this.dataTime }}</span>
      </div>

      <div id="print-div" class="warp">
        <div
          style="
            text-align: center;
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 8px;
          "
        >
          <img
            src="@/icons/img/changzhi.png"
            style="width: 30px; height: 30px; vertical-align: middle"
          />
          {{ this.$store.state.City }}医院 <br />入院护理评估单
        </div>
        <div>
          姓名：
          <span
            style="
              width: 70px;
              text-align: center;
              border-bottom: 1px solid rgb(220, 222, 226);
              height: 30px;
              margin-right: 5px;
            "
            >{{ this.data.name }}</span
          >
          性别：
          <span
            style="
              width: 40px;
              text-align: center;
              border-bottom: 1px solid rgb(220, 222, 226);
              height: 30px;
              margin-right: 5px;
            "
            >{{ this.data.sex }}</span
          >
          年龄：
          <span
            style="
              width: 50px;
              text-align: center;
              border-bottom: 1px solid rgb(220, 222, 226);
              height: 30px;
              margin-right: 5px;
            "
            >{{ this.$store.state.user.severFall.ageOrMonthAge}}</span
          >
          科别(病区)：
          <span
            style="
              width: 150px;
              text-align: center;
              border-bottom: 1px solid rgb(220, 222, 226);
              height: 30px;
              margin-right: 5px;
            "
            >{{ this.data.ward_code }}</span
          >
          床号：
          <span
            style="
              width: 60px;
              text-align: center;
              border-bottom: 1px solid rgb(220, 222, 226);
              height: 30px;
              margin-right: 5px;
            "
            >{{ this.data.bed_code }}</span
          >
          住院号：
          <span
            style="
              width: 150px;
              text-align: center;
              border-bottom: 1px solid rgb(220, 222, 226);
              height: 30px;
            "
            >{{ this.data.visit_id }}</span
          >
        </div>

        <div style="margin-top: 10px">
          <div>
            <div class="title_one">一、一般资料</div>
          </div>
          <div>
            <div class="one">
              <div style="width: 113px">家庭社会情况：</div>
            </div>
            <div style="width: 840px; height: 45px">
              <div style="width: 130px; float: left">
                <div style="float: left; margin-left: 10px">
                  民族:
                  <el-select
                    v-model="info.nation"
                    clearable
                    filterable
                    placeholder="请选择"
                    style="position: relative; top: -29px; left: 41px"
                  >
                    <el-option
                      v-for="item in nation"
                      :key="item.code"
                      :label="item.itemName"
                      :value="item.code"
                    />
                  </el-select>
                </div>
              </div>
              <div style="width: 108px; float: left">
                <div style="position: relative; left: 50px">
                  职业:
                  <el-select
                    v-model="info.occupation"
                    clearable
                    filterable
                    placeholder="请选择"
                    style="
                      position: relative;
                      top: -29px;
                      left: 41px;
                      width: 127px;
                    "
                  >
                    <el-option
                      v-for="item in occupation"
                      :key="item.code"
                      :label="item.itemName"
                      :value="item.code"
                    />
                  </el-select>
                </div>
              </div>
              <div style="width: 140px; float: left">
                <div style="position: relative; left: 118px">
                  文化程度:
                  <el-select
                    v-model="info.education"
                    placeholder="请选择"
                    filterable
                    clearable
                    style="position: relative; top: -29px; left: 70px"
                  >
                    <el-option
                      v-for="item in education"
                      :key="item.code"
                      :label="item.itemName"
                      :value="item.code"
                    />
                  </el-select>
                </div>
              </div>
              <div style="width: 100px; float: left">
                <div style="position: relative; left: 190px">
                  婚姻状况:
                  <el-select
                    v-model="info.maritalStatus"
                    placeholder="请选择"
                    clearable
                    filterable
                    style="position: relative; top: -29px; left: 70px"
                  >
                    <el-option
                      v-for="item in maritalStatus"
                      :key="item.code"
                      :label="item.itemName"
                      :value="item.code"
                    />
                  </el-select>
                </div>
              </div>
            </div>
            <!--  -->
            <div
              style="
                width: 840px;
                height: 50px;
                float: left;
                margin-left: -5px;
                height: 50px;
                position: absolute;
              "
            >
              <div style="width: 110px; margin-left: 5px">
                <div>
                  联系人及电话:
                  <input
                    v-model="info.contactPerson"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    placeholder=""
                    class="tiwen"
                    style="width: 738px"
                    maxlength="255"
                  />
                </div>
              </div>
            </div>
            <!--  -->
            <div
              style="
                width: 840px;
                height: 50px;
                position: absolute;
                position: relative;
                top: 25px;
              "
            >
              <div style="position: absolute">
                入院时间:
                <el-date-picker
                  v-model="info.visitTime"
                  value-format="yyyy-MM-dd HH:mm"
                  type="datetime"
                  placeholder="选择日期时间"
                />
              </div>
              <div style="position: absolute; left: 315px; top: 18px">
                入院方式：
                <el-radio-group v-model="info.visitMethod">
                  <el-radio label="1">步行</el-radio>
                  <el-radio label="2">轮椅</el-radio>
                  <el-radio label="3">平车</el-radio>
                  <el-radio label="4">其他</el-radio>
                </el-radio-group>
                <span v-if="info.visitMethod === '4'">
                  <input
                    v-model="info.visitMethodOther"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    placeholder=""
                    class="tiwen"
                    style="width: 75px"
                  /> </span
                ><br />
              </div>
            </div>
            <!--  -->
            <div
              style="width: 840px; height: 25px; position: relative; top: 30px"
            >
              <div style="width: 130px">
                <div style="position: absolute">
                  入院诊断:
                  <input
                    v-model="info.visitDiagnosis"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    placeholder=""
                    class="tiwen"
                    style="width: 770px"
                    maxlength="255"
                  />
                </div>
              </div>
            </div>
            <!--  -->
            <div
              style="
                width: 852px;
                height: 50px;
                position: absolute;
                position: relative;
                top: 25px;
              "
            >
              <div>
                既往史：
                <el-radio-group
                  v-model="info.pastHistory"
                  style="margin-right: 26px"
                >
                  <el-radio label="0">无</el-radio>
                  <el-radio label="1">有</el-radio>
                </el-radio-group>
                <span v-if="info.pastHistory === '1'">
                  <el-checkbox
                    v-model="info.hypertension"
                    label="高血压"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.heartDisease"
                    label="心脏病"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.diabetes"
                    label="糖尿病"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.cerebralVascularDisease"
                    label="脑血管病"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.mentalDisease"
                    label="精神病"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.operationHistory"
                    label="手术史"
                    true-label="1"
                    false-label="0"
                  />
                </span>
                <span v-if="info.pastHistory !== '1'">
                  <el-checkbox
                    v-model="info.hypertension"
                    label="高血压"
                    disabled
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.heartDisease"
                    label="心脏病"
                    disabled
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.diabetes"
                    label="糖尿病"
                    disabled
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.cerebralVascularDisease"
                    label="脑血管病"
                    disabled
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.mentalDisease"
                    label="精神病"
                    disabled
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.operationHistory"
                    label="手术史"
                    disabled
                    true-label="1"
                    false-label="0"
                  />
                </span>

                <span
                  v-if="
                    info.pastHistory === '1' && info.operationHistory === '1'
                  "
                >
                  <input
                    v-model="info.operationHistoryContent"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    placeholder=""
                    class="tiwen"
                    style="width: 75px"
                  />
                </span>
                <el-checkbox
                  v-model="info.pastHistoryOther"
                  label="其他"
                  true-label="1"
                  false-label="0"
                  style="margin-top: 17px"
                />
                <span
                  v-if="
                    info.pastHistory === '1' && info.pastHistoryOther === '1'
                  "
                >
                  <input
                    v-model="info.pastHistoryOtherContent"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    placeholder=""
                    class="tiwen"
                    style="width: 75px; margin-top: 13px"
                  />
                </span>
              </div>
            </div>
            <!--  -->
            <div
              style="
                width: 840px;
                height: 50px;
                position: absolute;
                position: relative;
                top: 32px;
              "
            >
              <div>
                过敏史：
                <el-radio-group
                  v-model="info.allergyHistory"
                  style="margin-right: 20px"
                >
                  <el-radio label="0">无</el-radio>
                  <el-radio label="1">有</el-radio>
                </el-radio-group>
                <span>
                  药物
                  <span v-if="info.allergyHistory === '1'">
                    <input
                      v-model="info.allergyDrug"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 140px"
                      maxlength="255"
                    />
                  </span>
                  <span v-if="info.allergyHistory !== '1'">
                    <input
                      v-model="info.allergyDrug"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 140px"
                      disabled="true"
                    />
                  </span>
                </span>

                <span style="position: relative; left: 180px">
                  食物
                  <span v-if="info.allergyHistory === '1'">
                    <input
                      v-model="info.allergyFood"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 155px"
                      maxlength="255"
                    />
                  </span>
                  <span v-if="info.allergyHistory !== '1'">
                    <input
                      v-model="info.allergyFood"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 155px"
                      disabled="true"
                    />
                  </span>
                </span>
                <span style="position: relative; left: 373px">
                  其他
                  <span v-if="info.allergyHistory === '1'">
                    <input
                      v-model="info.allergyOther"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 161px"
                      maxlength="255"
                    />
                  </span>
                  <span v-if="info.allergyHistory !== '1'">
                    <input
                      v-model="info.allergyOther"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 161px"
                      disabled="true"
                    />
                  </span>
                </span>
              </div>
            </div>
          </div>
          <!--  -->
          <div>
            <div class="title_one" style="margin-top: 5px">二、护理评估</div>
          </div>
          <div style="width: 840px; height: 45px">
            <div style="width: 130px; float: left; margin-top: 7px">
              <div style="float: left">
                时间:
                <el-time-picker
                  v-model="info.measureTime"
                  style="
                    position: relative;
                    top: -29px;
                    left: 41px;
                    width: 110px;
                  "
                  value-format="yyyy-MM-dd HH:mm"
                  format="HH:mm"
                />
              </div>
            </div>
            <div style="width: 108px; float: left; margin-top: 7px">
              <div style="position: relative; left: 48px; top: 5px">
                T:
                <input
                  v-model="info.visitT"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="left: 17px; width: 50px"
                />
                <span style="position: absolute; left: 75px; top: 2px">℃</span>
              </div>
            </div>
            <div style="width: 108px; float: left; margin-top: 7px">
              <div style="position: relative; left: 54px; top: 5px">
                P:
                <input
                  v-model="info.visitP"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="left: 17px; width: 50px"
                />
                <span
                  style="position: absolute; left: 75px; top: 2px; width: 37px"
                  >次/分</span
                >
              </div>
            </div>
            <div style="width: 108px; float: left; margin-top: 7px">
              <div style="position: relative; left: 79px; top: 5px">
                R:
                <input
                  v-model="info.visitR"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="left: 17px; width: 50px"
                />
                <span
                  style="position: absolute; left: 75px; top: 2px; width: 37px"
                  >次/分</span
                >
              </div>
            </div>
            <div style="width: 108px; float: left; margin-top: 7px">
              <div style="position: relative; left: 100px; top: 5px">
                BP:
                <input
                  v-model="info.visitBP"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="left: 30px; width: 50px"
                />
                <span
                  style="position: absolute; left: 80px; top: 2px; width: 37px"
                  >mmHg</span
                >
              </div>
            </div>
            <div style="width: 108px; float: left; margin-top: 7px">
              <div style="position: relative; left: 140px; top: 5px">
                体重:
                <input
                  v-model="info.visitWeight"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="left: 40px; width: 50px"
                />
                <span
                  style="position: absolute; left: 95px; top: 2px; width: 37px"
                  >kg</span
                >
              </div>
            </div>
          </div>
          <!--  -->
          <div
            style="width: 840px; height: 50px; float: left; margin-top: -15px"
          >
            <div>
              神志：
              <el-radio-group v-model="info.mind" style="margin-right: 10px">
                <el-radio label="1">清楚</el-radio>
                <el-radio label="2">嗜睡</el-radio>
                <el-radio label="3">意识模糊</el-radio>
                <el-radio label="4">昏睡</el-radio>
                <el-radio label="5">浅昏迷</el-radio>
                <el-radio label="6">中昏迷</el-radio>
                <el-radio label="7">深昏迷</el-radio>
                <el-radio label="8">痴呆</el-radio>
              </el-radio-group>
            </div>
          </div>
          <!--  -->
          <div
            style="width: 840px; height: 50px; float: left; margin-top: -15px"
          >
            <div>
              沟通能力：沟通方式
              <el-checkbox
                v-model="info.communicationLanguage"
                label="语言"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.communicationFont"
                label="文字"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.communicationGesture"
                label="手势"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.communicationNo"
                label="无法评估"
                true-label="1"
                false-label="0"
              />
              理解能力:
              <el-checkbox
                v-model="info.comprehensionAbilityGood"
                label="良好"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.comprehensionAbilityCommonly"
                label="一般"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.comprehensionAbilityBad"
                label="差"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.comprehensionAbilityNo"
                label="无法评估"
                true-label="1"
                false-label="0"
              />
            </div>
          </div>
          <!--  -->
          <!--  -->
          <div
            style="
              width: 840px;
              height: 50px;
              float: left;

              margin-top: -15px;
            "
          >
            <div>
              视力:
              <el-radio-group v-model="info.vision" style="margin-right: 10px">
                <el-radio label="0">正常</el-radio>
                <el-radio label="1">异常</el-radio>
              </el-radio-group>
              <span v-if="info.vision === '1'">
                <input
                  v-model="info.visionAbnormal"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="width: 150px"
                />
              </span>
              <span v-if="info.vision !== '1'">
                <input
                  v-model="info.visionAbnormal"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="width: 150px"
                  disabled="true"
                />
              </span>
              <span style="margin-left: 160px">
                听力:
                <el-radio-group
                  v-model="info.hearing"
                  style="margin-right: 10px"
                >
                  <el-radio label="0">正常</el-radio>
                  <el-radio label="1">异常</el-radio>
                </el-radio-group>
                <span v-if="info.hearing === '1'">
                  <input
                    v-model="info.hearingAbnormal"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    placeholder=""
                    class="tiwen"
                    style="width: 150px"
                  />
                </span>
                <span v-if="info.hearing !== '1'">
                  <input
                    v-model="info.hearingAbnormal"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    placeholder=""
                    class="tiwen"
                    style="width: 150px"
                    disabled="true"
                  />
                </span>
              </span>
            </div>
          </div>
          <!--  -->
          <div
            style="
              width: 840px;
              height: 50px;
              float: left;

              margin-top: -15px;
            "
          >
            <div>
              义齿：
              <el-radio-group
                v-model="info.falseTooth"
                style="margin-right: 10px"
              >
                <el-radio label="0">无</el-radio>
                <el-radio label="1">有</el-radio>
              </el-radio-group>
              口腔黏膜:
              <el-radio-group
                v-model="info.oralMucosa"
                style="margin-right: 10px"
              >
                <el-radio label="0">完整</el-radio>
                <el-radio label="1">破损</el-radio>
                <el-radio label="2">其他</el-radio>
              </el-radio-group>
              <span v-if="info.oralMucosa === '2'">
                <input
                  v-model="info.oralMucosaOther"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="width: 212px"
                />
              </span>
              <span v-if="info.oralMucosa !== '2'">
                <input
                  v-model="info.oralMucosaOther"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="width: 212px"
                  disabled="true"
                />
              </span>
            </div>
          </div>
          <!--  -->
          <div
            style="
              width: 840px;
              height: 50px;
              float: left;

              margin-top: -15px;
            "
          >
            <div>
              皮肤：
              <el-checkbox
                v-model="info.skinNormal"
                label="正常"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.skinEdema"
                label="水肿"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.skinJaundice"
                label="黄疸"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.skinPale"
                label="苍白"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.skinCyanosis"
                label="发绀"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.skinRash"
                label="皮疹"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.skinEcchymosis"
                label="瘀斑"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.skinDamaged"
                label="破损"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.skinOther"
                label="其他"
                true-label="1"
                false-label="0"
              />
              <span v-if="info.skinOther === '1'">
                <input
                  v-model="info.skinOtherContent"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="width: 147px"
                />
              </span>
              <span v-if="info.skinOther !== '1'">
                <input
                  v-model="info.skinOtherContent"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="width: 147px"
                  disabled="true"
                />
              </span>
            </div>
          </div>
          <!--  -->
          <div
            style="
              width: 840px;
              height: 50px;
              float: left;

              margin-top: -15px;
            "
          >
            <div>
              <span style="float: left">压疮： </span>
              <el-radio-group
                v-model="info.pressureSore"
                style="margin-right: 10px; float: left"
              >
                <el-radio label="0">无</el-radio>
                <el-radio label="1">有</el-radio>
              </el-radio-group>
              <span v-if="info.pressureSore === '1'">
                <span style="width: 177px; float: left; margin-left: 32px">
                  部位
                  <input
                    v-model="info.pressureSorePosition"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    style="width: 130px; margin-left: 10px"
                  />
                </span>
                <span style="width: 177px; float: left; margin-left: 56px">
                  分期
                  <input
                    v-model="info.pressureSoreLevel"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    style="width: 130px; margin-left: 10px"
                  />
                </span>
                <span style="width: 177px; float: left; margin-left: 56px">
                  范围
                  <input
                    v-model="info.pressureSoreRange"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    style="width: 130px; margin-left: 10px"
                  />
                </span>
              </span>
              <span v-if="info.pressureSore !== '1'">
                <span style="width: 170px; float: left; margin-left: 32px">
                  部位
                  <input
                    v-model="info.pressureSorePosition"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    placeholder=""
                    class="tiwen"
                    style="width: 150px"
                    disabled="true"
                  />
                </span>
                <span style="width: 170px; float: left; margin-left: 57px">
                  分期
                  <input
                    v-model="info.pressureSoreLevel"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    placeholder=""
                    class="tiwen"
                    style="width: 150px"
                    disabled="true"
                  />
                </span>
                <span style="width: 170px; float: left; margin-left: 57px">
                  范围
                  <input
                    v-model="info.pressureSoreRange"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    placeholder=""
                    class="tiwen"
                    style="width: 156px"
                    disabled="true"
                  />
                </span>
              </span>
            </div>
          </div>
          <!--  -->
          <!--  -->
          <div
            style="
              width: 840px;
              float: left;

              margin-top: -15px;
            "
          >
            <div style="margin-bottom: 15px">
              排泄情况：小便：
              <el-checkbox
                v-model="info.urineNormal"
                style="margin-bottom: 12px"
                label="正常"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.urineIncontinence"
                label="失禁"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.urineFrequent"
                label="尿频"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.urineUrgency"
                label="尿急"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.urinePain"
                label="尿痛"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.urineLittle"
                label="尿少"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.urineRetention"
                label="尿滞留"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.urineBlood"
                label="血尿"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.urineProtein"
                label="蛋白尿"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.urineRetentionCatheter"
                style="margin-left: 132px"
                label="保留尿管"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.urineStoma"
                label="造口"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.urineOther"
                label="其他"
                true-label="1"
                false-label="0"
              />
              <span v-if="info.urineOther === '1'">
                <input
                  v-model="info.urineOtherContent"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="width: 150px"
                />
              </span>
              <span v-if="info.urineOther !== '1'">
                <input
                  v-model="info.urineOtherContent"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="width: 150px"
                  disabled="true"
                />
              </span>
            </div>
            大便：
            <el-checkbox
              v-model="info.shitNormal"
              label="正常"
              true-label="1"
              false-label="0"
            />
            <el-checkbox
              v-model="info.shitIncontinence"
              label="失禁"
              true-label="1"
              false-label="0"
            />
            <el-checkbox
              v-model="info.shitConstipation"
              label="便秘"
              true-label="1"
              false-label="0"
            />
            <el-checkbox
              v-model="info.shitBlood"
              label="便血"
              true-label="1"
              false-label="0"
            />
            <el-checkbox
              v-model="info.shitStoma"
              label="造口"
              true-label="1"
              false-label="0"
            />
            <el-checkbox
              v-model="info.shitOther"
              label="其他"
              true-label="1"
              false-label="0"
            />
            <span v-if="info.shitOther === '1'">
              <input
                v-model="info.shitOtherContent"
                autocomplete="off"
                spellcheck="false"
                type="text"
                class="tiwen"
                style="width: 135px"
              />
            </span>
            <span v-if="info.shitOther !== '1'">
              <input
                v-model="info.shitOtherContent"
                autocomplete="off"
                spellcheck="false"
                type="text"
                class="tiwen"
                style="width: 135px"
                disabled="true"
              />
            </span>
            <el-checkbox
              v-model="info.shitDiarrhea"
              label="腹泻"
              true-label="1"
              false-label="0"
              style="margin-left: 150px"
            />
            <span v-if="info.shitDiarrhea === '1'">
              <input
                v-model="info.shitDiarrheaNum"
                autocomplete="off"
                spellcheck="false"
                type="text"
                placeholder=""
                class="tiwen"
                style="width: 139px"
              />
            </span>
            <span v-if="info.shitDiarrhea !== '1'">
              <input
                v-model="info.shitDiarrheaNum"
                autocomplete="off"
                spellcheck="false"
                type="text"
                placeholder=""
                class="tiwen"
                style="width: 139px"
                disabled="true"
              />
            </span>
          </div>
          <!--  -->
          <!--  -->
          <div
            style="
              height: 50px;
              float: left;

              margin-top: 15px;
            "
          >
            <div>
              情绪状态：
              <el-checkbox
                v-model="info.emotionStable"
                label="稳定"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.emotionAnxious"
                label="焦虑"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.emotionNervous"
                label="紧张"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.emotionFear"
                label="恐惧"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.emotionOther"
                label="其他"
                true-label="1"
                false-label="0"
              />

              <span v-if="info.emotionOther === '1'">
                <input
                  v-model="info.emotionOtherContent"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="width: 150px"
                />
              </span>
              <span v-if="info.emotionOther !== '1'">
                <input
                  v-model="info.emotionOtherContent"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  placeholder=""
                  class="tiwen"
                  style="width: 399px"
                  disabled="true"
                />
              </span>
            </div>
          </div>
          <!--  -->
          <!--  -->
          <div
            style="width: 840px; position: relative; top: -15px; left: -376px"
          >
            <div style="margin-bottom: 15px; float: left; margin-left: 376px">
              生活习惯:
              <span style="font-size: 14px">吸烟：</span>

              <el-radio-group v-model="info.smoke">
                <el-radio label="0">是</el-radio>
                <el-radio label="1">否</el-radio>
              </el-radio-group>
              <span v-if="info.smoke === '1'">
                <input
                  v-model="info.smokeContent"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  class="tiwen"
                  style="width: 150px"
                />
              </span>
              <span v-if="info.smoke !== '1'">
                <input
                  v-model="info.smokeContent"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  class="tiwen"
                  style="width: 150px"
                  disabled="true"
                />
              </span>
              <span style="position: relative; left: 219px">
                <span style="font-size: 14px">饮酒：</span>
                <el-radio-group v-model="info.drink">
                  <el-radio label="0">是</el-radio>
                  <el-radio label="1">否</el-radio>
                </el-radio-group>
                <span v-if="info.drink === '1'">
                  <input
                    v-model="info.drinkContent"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    class="tiwen"
                    style="width: 150px"
                  />
                </span>
                <span v-if="info.drink !== '1'">
                  <input
                    v-model="info.drinkContent"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    class="tiwen"
                    style="width: 150px"
                    disabled="true"
                  />
                </span>
              </span>
            </div>
            <div
              style="
                width: 535px;
                margin-bottom: 15px;
                float: left;
                margin-left: 449px;
              "
            >
              <span style="font-size: 14px; margin-right: 8px">饮食习惯:</span>
              <el-checkbox
                v-model="info.dietSalty"
                label="咸"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.dietSweet"
                label="甜"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.dietPungent"
                label="辛辣"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.dietGreasy"
                label="油腻"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.dietLight"
                label="清淡"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.dietOther"
                label="其他"
                true-label="1"
                false-label="0"
              />
              <span v-if="info.dietOther === '1'">
                <input
                  v-model="info.dietOtherContent"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  class="tiwen"
                  style="width: 150px"
                />
              </span>
              <span v-if="info.dietOther !== '1'">
                <input
                  v-model="info.dietOtherContent"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  class="tiwen"
                  style="width: 120px"
                  disabled="true"
                />
              </span>
              <span style="position: relative; left: 140px">
                <span style="font-size: 14px">忌食:</span>
                <input
                  v-model="info.dietAvoid"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  class="tiwen"
                  style="width: 135px"
                />
              </span>
            </div>
            <div
              style="
                width: 700px;
                margin-bottom: 15px;
                float: left;
                margin-left: 450px;
              "
            >
              <span style="font-size: 14px; margin-right: 8px">睡眠:</span>
              <el-checkbox
                v-model="info.sleepNormal"
                label="正常"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.sleepLotDream"
                label="多梦"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.sleepToWakeUp"
                label="易醒"
                true-label="1"
                false-label="0"
              />
              <el-checkbox
                v-model="info.sleepHard"
                label="入睡困难"
                true-label="1"
                false-label="0"
              />
              <span style="position: relative; left: 64px; font-size: 14px">
                每日睡眠:
                <input
                  v-model="info.sleepHour"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  class="tiwen"
                  style="width: 50px"
                />
                <span
                  style="position: absolute; left: 120px; top: 2px; width: 37px"
                  >小时</span
                >
              </span>
            </div>
            <!--  -->
            <div style="margin-bottom: 15px; float: left; margin-left: 450px">
              <span style="font-size: 14px; margin-right: 8px">药物辅助:</span>
              <el-radio-group v-model="info.sleepDrugAssisted">
                <el-radio label="0">是</el-radio>
                <el-radio label="1">否</el-radio>
              </el-radio-group>
              <span v-if="info.sleepDrugAssisted === '1'">
                <input
                  v-model="info.sleepDrugAssistedContent"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  class="tiwen"
                  style="width: 150px"
                />
              </span>
              <span v-if="info.sleepDrugAssisted !== '1'">
                <input
                  v-model="info.sleepDrugAssistedContent"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  class="tiwen"
                  style="width: 150px"
                  disabled="true"
                />
              </span>
              <span
                style="display: block; margin-top: 12px; margin-left: -74px"
              >
                评分时间：
                <el-date-picker
                  v-model="info.scoreTime"
                  style=""
                  type="datetime"
                  value-format="yyyy-MM-dd HH:mm:ss"
                  placeholder="选择日期时间"
                />
              </span>
            </div>
            <!--  -->
            <div
              style="
                width: 840px;
                height: 50px;
                float: left;
                margin-left: 375px;
                margin-top: 10px;
              "
            >
              <span style="width: 180px; float: left">
                Braden评分
                <input
                  v-model="info.bradenScore"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  class="tiwen"
                  style="width: 80px"
                  @dblclick.native="(dialogCheckVisible = true), checkout()"
                />
                <span style="position: absolute; left: 560px; width: 37px"
                  >分</span
                >
              </span>
              <span style="width: 180px; float: left; margin-left: 30px">
                Morse评分
                <input
                  v-model="info.morseScore"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  class="tiwen"
                  style="width: 80px"
                />
                <span style="position: absolute; left: 762px; width: 37px"
                  >分</span
                >
              </span>
              <span style="width: 180px; float: left; margin-left: 22px">
                Autar-DVT评分
                <input
                  v-model="info.autarDvtScore"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  class="tiwen"
                  style="width: 80px"
                />
                <span style="position: absolute; left: 995px; width: 37px"
                  >分</span
                >
              </span>
              <span style="width: 180px; float: left; margin-left: 55px">
                ADL评分
                <input
                  v-model="info.adlScore"
                  autocomplete="off"
                  spellcheck="false"
                  type="text"
                  class="tiwen"
                  style="width: 80px"
                />
                <span style="position: absolute; left: 1186px; width: 37px"
                  >分</span
                >
              </span>
            </div>
            <!--  -->
            <div
              style="
                width: 840px;
                float: left;
                margin-left: 376px;
                margin-top: -15px;
              "
            >
              <div style="margin-bottom: 15px">
                家属态度：
                <el-radio-group v-model="info.familyAttitude">
                  <el-radio label="1">关心</el-radio>
                  <el-radio label="2">不关心</el-radio>
                  <el-radio label="3">过于关心</el-radio>
                  <el-radio label="4">无人照顾</el-radio>
                  <!--<el-radio label="5">无人照顾</el-radio>-->
                </el-radio-group>
              </div>
            </div>
            <!--  -->
            <!--  -->
            <div style="width: 840px; float: left; margin-left: 376px">
              <div style="margin-bottom: 15px">
                <span>
                  饮食状况：
                  <el-radio-group v-model="info.dietaryStatus">
                    <el-radio label="1">一般</el-radio>
                    <el-radio label="2">良好</el-radio>
                    <el-radio label="3">较差</el-radio>
                  </el-radio-group>
                </span>
                <span style="position: relative; left: 30px">
                  自理能力：
                  <el-radio-group v-model="info.selfCareAbility">
                    <el-radio label="1">一般</el-radio>
                    <el-radio label="2">良好</el-radio>
                    <el-radio label="3">较差</el-radio>
                  </el-radio-group>
                </span>
              </div>
            </div>
            <!--  -->
            <!--  -->
            <div style="width: 840px; float: left; margin-left: 376px">
              <div style="margin-bottom: 15px">
                <span>
                  隔离状况：
                  <el-select
                    v-model="info.isolationStatus"
                    placeholder="请选择"
                    clearable
                    filterable
                  >
                    <el-option
                      v-for="item in isolationStatus"
                      :key="item.code"
                      :label="item.itemName"
                      :value="item.code"
                    />
                  </el-select>
                </span>
                <span style="position: relative; left: 50px">
                  有无呕吐：
                  <el-radio-group v-model="info.vomit">
                    <el-radio label="1">有</el-radio>
                    <el-radio label="0">无</el-radio>
                  </el-radio-group>
                </span>
              </div>
            </div>
            <!--  -->
            <!--  -->
            <div style="width: 840px; float: left; margin-left: 376px">
              <div style="margin-bottom: 15px">
                <span>
                  发育程度：
                  <el-select
                    v-model="info.developmentalDegree"
                    placeholder="请选择"
                    clearable
                    filterable
                  >
                    <el-option
                      v-for="item in developmentalDegree"
                      :key="item.code"
                      :label="item.itemName"
                      :value="item.code"
                    />
                  </el-select>
                </span>
                <span style="position: relative; left: 50px">
                  健康状况：
                  <el-radio-group v-model="info.health">
                    <el-radio label="1">健康</el-radio>
                    <el-radio label="0">不健康</el-radio>
                  </el-radio-group>
                </span>
                <span style="position: relative; left: 75px">
                  传染性疾病:
                  <el-radio-group v-model="info.infectiousDiseases">
                    <el-radio label="1">有</el-radio>
                    <el-radio label="0">无</el-radio>
                  </el-radio-group>
                </span>
              </div>
            </div>
            <!--  -->

            <div>
              <div class="title_one" style="float: left; margin-left: 376px">
                三、入院宣教
              </div>
              <!--  -->
              <div style="width: 840px; float: left; margin-left: 376px">
                <div style="margin-bottom: 15px">
                  <span class="spp" style="margin-bottom: 15px; float: left">
                    <el-checkbox
                      v-model="info.bedsideDoctor"
                      label="床位医生"
                      true-label="1"
                      false-label="0"
                    />
                    <el-checkbox
                      v-model="info.responsibleNurse"
                      label="责任护士"
                      true-label="1"
                      false-label="0"
                    />
                    <el-checkbox
                      v-model="info.wardEnvironment"
                      label="病房环境"
                      true-label="1"
                      false-label="0"
                    />
                    <el-checkbox
                      v-model="info.wardSystem"
                      label="病房制度"
                      true-label="1"
                      false-label="0"
                    />
                    <el-checkbox
                      v-model="info.visitingRegulations"
                      label="探视规定"
                      true-label="1"
                      false-label="0"
                    />
                    <el-checkbox
                      v-model="info.dietaryArrangement"
                      label="膳食安排"
                      true-label="1"
                      false-label="0"
                    />
                  </span>
                  <span class="spps">
                    <el-checkbox
                      v-model="info.psychologicalCounseling"
                      label="心理疏导"
                      true-label="1"
                      false-label="0"
                      class="customer-checkbox"
                    />
                    <el-checkbox
                      v-model="info.noGoingOut"
                      label="禁止外出"
                      true-label="1"
                      false-label="0"
                      class="customer-checkbox"
                    />
                    <el-checkbox
                      v-model="info.wristStrap"
                      label="腕带佩戴"
                      true-label="1"
                      false-label="0"
                      class="customer-checkbox"
                    />
                    <el-checkbox
                      v-model="info.inHospitalOther"
                      label="其他"
                      true-label="1"
                      false-label="0"
                    />
                    <span v-if="info.inHospitalOther === '1'">
                      <input
                        v-model="info.inHospitalOtherContent"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        class="tiwen"
                        style="width: 150px"
                      />
                    </span>
                    <span v-if="info.inHospitalOther !== '1'">
                      <input
                        v-model="info.inHospitalOtherContent"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        class="tiwen"
                        style="width: 150px"
                        disabled="true"
                      />
                    </span>
                  </span>
                </div>
              </div>
              <!--  -->
              <div
                class="title_one"
                style="float: left; margin-left: 376px; margin-bottom: 10px"
              >
                四、护理计划及措施
              </div>
              <!--  -->
              <div style="width: 840px; float: left; margin-left: 376px">
                <div style="margin-bottom: 15px">
                  <span>
                    皮肤护理:
                    <input
                      v-model="info.skinNursing"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 180px"
                      @dblclick.native="rigthDiongs()"
                      maxlength="255"
                    />
                  </span>
                  <span style="position: relative; left: 198px">
                    营养护理:
                    <input
                      v-model="info.nutritionNursing"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 180px"
                      maxlength="255"
                    />
                  </span>
                  <span style="position: relative; left: 396px">
                    体位护理:
                    <input
                      v-model="info.postureNursing"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 180px"
                      maxlength="255"
                    />
                  </span>
                </div>
              </div>
              <!--  -->
              <!--  -->
              <div style="width: 840px; float: left; margin-left: 376px">
                <div style="margin-bottom: 15px">
                  <span>
                    心理护理:
                    <el-select
                      v-model="info.mentalNursing"
                      style="width: 244px"
                      placeholder="请选择"
                      clearable
                      filterable
                    >
                      <el-option
                        v-for="item in mentalNursing"
                        :key="item.code"
                        :label="item.itemName"
                        :value="item.code"
                      />
                    </el-select>
                  </span>
                  <span style="position: relative; left: 10px">
                    饮食护理:
                    <el-select
                      v-model="info.dietNursing"
                      placeholder="请选择"
                      clearable
                      filterable
                      style="width: 179px"
                    >
                      <el-option
                        v-for="item in dietNursing"
                        :key="item.code"
                        :label="item.itemName"
                        :value="item.code"
                      />
                    </el-select>
                  </span>
                  <span style="position: relative; left: 10px">
                    安全护理:
                    <el-select
                      v-model="info.safetyNursing"
                      placeholder="请选择"
                      clearable
                      filterable
                      style="width: 178px"
                    >
                      <el-option
                        v-for="item in safetyNursing"
                        :key="item.code"
                        :label="item.itemName"
                        :value="item.code"
                      />
                    </el-select>
                  </span>
                </div>
              </div>
              <!--  -->
              <div style="width: 840px; float: left; margin-left: 376px">
                <div style="margin-bottom: 15px">
                  异常情况描述:
                  <input
                    v-model="info.abnormalDescription"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    class="tiwen"
                    style="width: 738px"
                    maxlength="255"
                  />
                </div>
              </div>
              <!--  -->
              <!--  -->
              <div style="width: 840px; float: left; margin-left: 376px">
                <div style="margin-bottom: 15px">
                  <span style="float: left; margin-top: 14px">
                    通知医生时间:
                  </span>
                  <el-date-picker
                    v-model="info.informDoctorTime"
                    style="position: absolute"
                    type="datetime"
                    value-format="yyyy-MM-dd HH:mm:ss"
                    placeholder="选择日期时间"
                  />
                </div>
              </div>
              <!--  -->
              <!--  -->
              <div
                id="page_tail"
                style="
                  width: 840px;
                  float: left;
                  margin-left: 376px;
                  margin-top: 20px;
                "
              >
                <div style="margin-bottom: 15px">
                  <span>
                    护士签名:
                    <el-select
                      v-model="info.nurseSignature"
                      placeholder="请选择"
                      clearable
                      filterable
                      remote
                      :remote-method="remoteMethod"
                      :loading="selectLoading"
                    >
                      <el-option
                        v-for="item in arrName"
                        :key="item.id"
                        :label="item.user_name"
                        :value="item.login_name"
                      />
                    </el-select>
                  </span>
                  <span style="position: relative">
                    审核护士签名:
                    <el-select
                      v-model="info.examineNurseSignature"
                      placeholder="请选择"
                      clearable
                      filterable
                      remote
                      :remote-method="remoteMethod"
                      :loading="selectLoading"
                    >
                      <el-option
                        v-for="item in arrName"
                        :key="item.id"
                        :label="item.user_name"
                        :value="item.login_name"
                      />
                    </el-select>
                  </span>
                  <span style="position: relative">
                    时间:
                    <el-date-picker
                      v-model="info.examineTime"
                      style="position: absolute; width: 219px"
                      type="datetime"
                      value-format="yyyy-MM-dd HH:mm:ss"
                      placeholder="选择日期时间"
                    />
                  </span>
                </div>
              </div>
              <!--  -->
              <div
                style="
                  width: 840px;
                  float: left;
                  margin-left: 376px;
                  margin-top: 1px;
                "
              >
                <div style="text-align: center; ">
                  第{{ this.pageNum }}页
                </div>
              </div>
            </div>
          </div>

        </div>
      </div>

      <!-- 按钮 -->
      <div
        style="
          position: fixed;
          right: 0;
          bottom: 0;
          z-index: 9;
          width: 100%;
          height: 56px;
          line-height: 56px;
          padding: 0 60px 0 18px;
          background: #fff;
          border-top: 1px solid #e8eaec;
          box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.03);
        "
      >
        <el-button
          type="primary"
          style="position: absolute; right: 20px; top: 8px"
          @click="btn"
          :disabled=garbage
          >保存</el-button
        >

        <el-button
          type="primary"
          style="position: absolute; right: 102px; top: 8px"
          @click="adnursingPrint"
          :disabled=garbage
          >打印...</el-button
        >

        <el-button
          type="primary"
          style="position: absolute; right: 185px; top: 8px"
          @click="record"
          :disabled=garbage
          >刷新</el-button
        >
        <el-button
          type="primary"
          style="position: absolute; right: 270px; top: 8px"
          @click="history()"
          :disabled=garbage
          >历史记录</el-button
        >
        <span style="position: absolute; right: 500px; top: 1px">
          设置页码：
          <input
            v-model="pageNum"
            autocomplete="off"
            spellcheck="false"
            type="text"
            placeholder=""
            oninput="value=value.replace(/[^0-9.]/g,'')"
            style="width: 100px; height: 30px"
          />
        </span>
      </div>

      <!-- 打印 -->
      <div id="adnursingId">
        <el-dialog
          title="打印预览"
          :visible.sync="dialogVisiblePrint"
          :close-on-click-modal="false"
          class="mod_box2"
          custom-class="role-mask"
          style="margin-top: -3%"
        >
          <div class="morsePrint">
            <span class="morseText">预览</span>
            <el-button
              type="primary"
              size="small"
              style="float: right; margin-right: 24px; margin-top: 12px"
              @click="adnursingPrint"
              >打印</el-button
            >
          </div>
          <div style="height: auto; margin: 0 auto">
            <div
              style="
                text-align: center;
                font-size: 24px;
                font-weight: bold;
                margin-bottom: 8px;
                margin-top: 8px;
              "
            >
              入院护理评估单
            </div>
            <div>
              姓名：
              <span
                style="
                  width: 70px;
                  text-align: center;
                  border-bottom: 1px solid rgb(220, 222, 226);
                  height: 30px;
                  margin-right: 5px;
                "
                >{{ this.data.name }}</span
              >
              性别：
              <span
                style="
                  width: 40px;
                  text-align: center;
                  border-bottom: 1px solid rgb(220, 222, 226);
                  height: 30px;
                  margin-right: 5px;
                "
                >{{ this.data.sex }}</span
              >
              年龄：
              <span
                style="
                  width: 40px;
                  text-align: center;
                  border-bottom: 1px solid rgb(220, 222, 226);
                  height: 30px;
                  margin-right: 5px;
                "
                >{{ this.$store.state.user.severFall.ageOrMonthAge}}</span>
              科别(病区)：
              <span
                style="
                  width: 150px;
                  text-align: center;
                  border-bottom: 1px solid rgb(220, 222, 226);
                  height: 30px;
                  margin-right: 5px;
                "
                >{{ this.data.bed_code }}</span
              >
              床号：
              <span
                style="
                  width: 60px;
                  text-align: center;
                  border-bottom: 1px solid rgb(220, 222, 226);
                  height: 30px;
                  margin-right: 5px;
                "
                >{{ this.data.bed_code_name }}</span
              >
              住院号：
              <span
                style="
                  width: 150px;
                  text-align: center;
                  border-bottom: 1px solid rgb(220, 222, 226);
                  height: 30px;
                "
                >{{ this.data.visit_id }}</span
              >
            </div>
            <div style="margin-top: 5px">
              <div>
                <div class="title_one">一、一般资料</div>
              </div>
              <div>
                <div class="one">
                  <div style="width: 113px">家庭社会情况：</div>
                </div>
                <div style="width: 840px; height: 45px">
                  <div style="width: 130px; float: left">
                    <div style="float: left; margin-left: 10px">
                      民族:
                      <el-select
                        v-model="info.nation"
                        placeholder="请选择"
                        clearable
                        filterable
                        style="position: relative; top: -29px; left: 41px"
                      >
                        <el-option
                          v-for="item in nation"
                          :key="item.code"
                          :label="item.itemName"
                          :value="item.code"
                        />
                      </el-select>
                    </div>
                  </div>
                  <div style="width: 108px; float: left">
                    <div style="position: relative; left: 50px">
                      职业:
                      <el-select
                        v-model="info.occupation"
                        placeholder="请选择"
                        clearable
                        filterable
                        style="
                          position: relative;
                          top: -29px;
                          left: 41px;
                          width: 127px;
                        "
                      >
                        <el-option
                          v-for="item in occupation"
                          :key="item.code"
                          :label="item.itemName"
                          :value="item.code"
                        />
                      </el-select>
                    </div>
                  </div>
                  <div style="width: 140px; float: left">
                    <div style="position: relative; left: 118px">
                      文化程度:
                      <el-select
                        v-model="info.education"
                        placeholder="请选择"
                        clearable
                        filterable
                        style="position: relative; top: -29px; left: 70px"
                      >
                        <el-option
                          v-for="item in education"
                          :key="item.code"
                          :label="item.itemName"
                          :value="item.code"
                        />
                      </el-select>
                    </div>
                  </div>
                  <div style="width: 100px; float: left">
                    <div style="position: relative; left: 190px">
                      婚姻状况:
                      <el-select
                        v-model="info.maritalStatus"
                        placeholder="请选择"
                        clearable
                        filterable
                        style="position: relative; top: -29px; left: 70px"
                      >
                        <el-option
                          v-for="item in maritalStatus"
                          :key="item.code"
                          :label="item.itemName"
                          :value="item.code"
                        />
                      </el-select>
                    </div>
                  </div>
                </div>
                <!--  -->
                <div
                  style="width:840px;height:50px;float:left;margin-left: -5px;margin-top: 1px:840px;height:50px;position: absolute"
                >
                  <div style="width: 110px; margin-left: 5px">
                    <div>
                      联系人及电话:
                      <input
                        v-model="info.contactPerson"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        class="tiwen"
                        style="width: 738px"
                      />
                    </div>
                  </div>
                </div>
                <!--  -->
                <div
                  style="
                    width: 840px;
                    height: 50px;
                    position: absolute;
                    position: relative;
                    top: 25px;
                  "
                >
                  <div style="position: absolute">
                    入院时间:
                    <el-date-picker
                      v-model="info.visitTime"
                      value-format="yyyy-MM-dd HH:mm"
                      type="datetime"
                      placeholder="选择日期时间"
                    />
                  </div>
                  <div style="position: absolute; left: 315px; top: 18px">
                    入院方式：
                    <el-radio-group v-model="info.visitMethod">
                      <el-radio label="1">步行</el-radio>
                      <el-radio label="2">轮椅</el-radio>
                      <el-radio label="3">平车</el-radio>
                      <el-radio label="4">其他</el-radio>
                    </el-radio-group>
                    <span v-if="info.visitMethod === '4'">
                      <input
                        v-model="info.visitMethodOther"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        class="tiwen"
                        style="width: 75px"
                      /> </span
                    ><br />
                  </div>
                </div>
                <!--  -->
                <div
                  style="
                    width: 840px;
                    height: 25px;
                    position: relative;
                    top: 30px;
                  "
                >
                  <div style="width: 130px">
                    <div>
                      入院诊断:
                      <input
                        v-model="info.visitDiagnosis"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        class="tiwen"
                        style="width: 770px"
                      />
                    </div>
                  </div>
                </div>
                <!--  -->
                <div
                  style="
                    width: 852px;
                    height: 50px;
                    position: absolute;
                    position: relative;
                    top: 25px;
                  "
                >
                  <div>
                    既往史：
                    <el-radio-group
                      v-model="info.pastHistory"
                      style="margin-right: 26px"
                    >
                      <el-radio label="0">无</el-radio>
                      <el-radio label="1">有</el-radio>
                    </el-radio-group>
                    <el-checkbox
                      v-model="info.hypertension"
                      label="高血压"
                      true-label="1"
                      false-label="0"
                    />
                    <el-checkbox
                      v-model="info.heartDisease"
                      label="心脏病"
                      true-label="1"
                      false-label="0"
                    />
                    <el-checkbox
                      v-model="info.diabetes"
                      label="糖尿病"
                      true-label="1"
                      false-label="0"
                    />
                    <el-checkbox
                      v-model="info.cerebralVascularDisease"
                      label="脑血管病"
                      true-label="1"
                      false-label="0"
                    />
                    <el-checkbox
                      v-model="info.mentalDisease"
                      label="精神病"
                      true-label="1"
                      false-label="0"
                    />
                    <el-checkbox
                      v-model="info.operationHistory"
                      label="手术史"
                      true-label="1"
                      false-label="0"
                    />
                    <span
                      v-if="
                        info.pastHistory === '1' &&
                        info.operationHistory === '1'
                      "
                    >
                      <input
                        v-model="info.operationHistoryContent"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        placeholder=""
                        class="tiwen"
                        style="width: 75px"
                      />
                    </span>
                    <el-checkbox
                      v-model="info.pastHistoryOther"
                      label="其他"
                      true-label="1"
                      false-label="0"
                      style="margin-top: 17px"
                    />
                    <span
                      v-if="
                        info.pastHistory === '1' &&
                        info.pastHistoryOther === '1'
                      "
                    >
                      <input
                        v-model="info.pastHistoryOtherContent"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        placeholder=""
                        class="tiwen"
                        style="width: 75px; margin-top: 13px"
                      />
                    </span>
                  </div>
                </div>
                <!--  -->
                <div
                  style="
                    width: 840px;
                    height: 50px;
                    position: absolute;
                    position: relative;
                    top: 32px;
                  "
                >
                  <div>
                    过敏史：
                    <el-radio-group
                      v-model="info.allergyHistory"
                      style="margin-right: 20px"
                    >
                      <el-radio label="0">无</el-radio>
                      <el-radio label="1">有</el-radio>
                    </el-radio-group>
                    <span>
                      药物
                      <span v-if="info.allergyHistory === '1'">
                        <input
                          v-model="info.allergyDrug"
                          autocomplete="off"
                          spellcheck="false"
                          type="text"
                          placeholder=""
                          class="tiwen"
                          style="width: 140px"
                        />
                      </span>
                      <span v-if="info.allergyHistory !== '1'">
                        <input
                          v-model="info.allergyDrug"
                          autocomplete="off"
                          spellcheck="false"
                          type="text"
                          placeholder=""
                          class="tiwen"
                          style="width: 140px"
                          disabled="true"
                        />
                      </span>
                    </span>

                    <span style="position: relative; left: 180px">
                      食物
                      <span v-if="info.allergyHistory === '1'">
                        <input
                          v-model="info.allergyFood"
                          autocomplete="off"
                          spellcheck="false"
                          type="text"
                          class="tiwen"
                          style="width: 155px"
                        />
                      </span>
                      <span v-if="info.allergyHistory !== '1'">
                        <input
                          v-model="info.allergyFood"
                          autocomplete="off"
                          spellcheck="false"
                          type="text"
                          placeholder=""
                          class="tiwen"
                          style="width: 155px"
                          disabled="true"
                        />
                      </span>
                    </span>
                    <span style="position: relative; left: 373px">
                      其他
                      <span v-if="info.allergyHistory === '1'">
                        <input
                          v-model="info.allergyOther"
                          autocomplete="off"
                          spellcheck="false"
                          type="text"
                          class="tiwen"
                          style="width: 161px"
                        />
                      </span>
                      <span v-if="info.allergyHistory !== '1'">
                        <input
                          v-model="info.allergyOther"
                          autocomplete="off"
                          spellcheck="false"
                          type="text"
                          placeholder=""
                          class="tiwen"
                          style="width: 161px"
                          disabled="true"
                        />
                      </span>
                    </span>
                  </div>
                </div>
              </div>
              <!--  -->
              <div>
                <div class="title_one" style="margin-top: 5px">
                  二、护理评估
                </div>
              </div>

              <div style="width: 840px; height: 45px">
                <div style="width: 130px; float: left; margin-top: 7px">
                  <div style="float: left">
                    时间:
                    <el-time-picker
                      v-model="info.measureTime"
                      style="
                        position: relative;
                        top: -29px;
                        left: 41px;
                        width: 110px;
                      "
                      format="HH:mm"
                    />
                  </div>
                </div>
                <div style="width: 108px; float: left; margin-top: 7px">
                  <div style="position: relative; left: 48px; top: 5px">
                    T:
                    <input
                      v-model="info.visitT"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="left: 17px; width: 50px"
                    />
                    <span style="position: absolute; left: 75px; top: 2px"
                      >℃</span
                    >
                  </div>
                </div>
                <div style="width: 108px; float: left; margin-top: 7px">
                  <div style="position: relative; left: 54px; top: 5px">
                    P:
                    <input
                      v-model="info.visitP"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="left: 17px; width: 50px"
                    />
                    <span
                      style="
                        position: absolute;
                        left: 75px;
                        top: 2px;
                        width: 37px;
                      "
                      >次/分</span
                    >
                  </div>
                </div>
                <div style="width: 108px; float: left; margin-top: 7px">
                  <div style="position: relative; left: 79px; top: 5px">
                    R:
                    <input
                      v-model="info.visitR"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="left: 17px; width: 50px"
                    />
                    <span
                      style="
                        position: absolute;
                        left: 75px;
                        top: 2px;
                        width: 37px;
                      "
                      >次/分</span
                    >
                  </div>
                </div>
                <div style="width: 108px; float: left; margin-top: 7px">
                  <div style="position: relative; left: 100px; top: 5px">
                    BP:
                    <input
                      v-model="info.visitBP"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="left: 30px; width: 50px"
                    />
                    <span
                      style="
                        position: absolute;
                        left: 80px;
                        top: 2px;
                        width: 43px;
                      "
                      >mmHg</span
                    >
                  </div>
                </div>
                <div style="width: 108px; float: left; margin-top: 7px">
                  <div style="position: relative; left: 140px; top: 5px">
                    体重:
                    <input
                      v-model="info.visitWeight"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="left: 40px; width: 50px"
                    />
                    <span
                      style="
                        position: absolute;
                        left: 95px;
                        top: 2px;
                        width: 37px;
                      "
                      >kg</span
                    >
                  </div>
                </div>
              </div>
              <!--  -->
              <div
                style="
                  width: 840px;
                  height: 50px;
                  float: left;
                  margin-top: -15px;
                "
              >
                <div>
                  神志：
                  <el-radio-group
                    v-model="info.mind"
                    style="margin-right: 10px"
                  >
                    <el-radio label="1">清楚</el-radio>
                    <el-radio label="2">嗜睡</el-radio>
                    <el-radio label="3">意识模糊</el-radio>
                    <el-radio label="4">昏睡</el-radio>
                    <el-radio label="5">浅昏迷</el-radio>
                    <el-radio label="6">中昏迷</el-radio>
                    <el-radio label="7">深昏迷</el-radio>
                    <el-radio label="8">痴呆</el-radio>
                  </el-radio-group>
                </div>
              </div>
              <!--  -->
              <div
                style="
                  width: 840px;
                  height: 50px;
                  float: left;
                  margin-top: -15px;
                "
              >
                <div>
                  沟通能力：沟通方式
                  <el-checkbox
                    v-model="info.communicationLanguage"
                    label="语言"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.communicationFont"
                    label="文字"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.communicationGesture"
                    label="手势"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.communicationNo"
                    label="无法评估"
                    true-label="1"
                    false-label="0"
                  />
                  理解能力:
                  <el-checkbox
                    v-model="info.comprehensionAbilityGood"
                    label="良好"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.comprehensionAbilityCommonly"
                    label="一般"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.comprehensionAbilityBad"
                    label="差"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.comprehensionAbilityNo"
                    label="无法评估"
                    true-label="1"
                    false-label="0"
                  />
                </div>
              </div>
              <!--  -->
              <!--  -->
              <div
                style="
                  width: 840px;
                  height: 50px;
                  float: left;

                  margin-top: -15px;
                "
              >
                <div>
                  视力:
                  <el-radio-group
                    v-model="info.vision"
                    style="margin-right: 10px"
                  >
                    <el-radio label="0">正常</el-radio>
                    <el-radio label="1">异常</el-radio>
                  </el-radio-group>
                  <span v-if="info.vision === '1'">
                    <input
                      v-model="info.visionAbnormal"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 150px"
                    />
                  </span>
                  <span v-if="info.vision !== '1'">
                    <input
                      v-model="info.visionAbnormal"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 150px"
                      disabled="true"
                    />
                  </span>
                  <span style="margin-left: 160px">
                    听力:
                    <el-radio-group
                      v-model="info.hearing"
                      style="margin-right: 10px"
                    >
                      <el-radio label="0">正常</el-radio>
                      <el-radio label="1">异常</el-radio>
                    </el-radio-group>
                    <span v-if="info.hearing === '1'">
                      <input
                        v-model="info.hearingAbnormal"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        placeholder=""
                        class="tiwen"
                        style="width: 150px"
                      />
                    </span>
                    <span v-if="info.hearing !== '1'">
                      <input
                        v-model="info.hearingAbnormal"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        placeholder=""
                        class="tiwen"
                        style="width: 150px"
                        disabled="true"
                      />
                    </span>
                  </span>
                </div>
              </div>
              <!--  -->
              <div
                style="
                  width: 840px;
                  height: 50px;
                  float: left;
                  margin-top: -15px;
                "
              >
                <div>
                  义齿：
                  <el-radio-group
                    v-model="info.falseTooth"
                    style="margin-right: 10px"
                  >
                    <el-radio label="0">无</el-radio>
                    <el-radio label="1">有</el-radio>
                  </el-radio-group>
                  口腔黏膜:
                  <el-radio-group
                    v-model="info.oralMucosa"
                    style="margin-right: 10px"
                  >
                    <el-radio label="0">完整</el-radio>
                    <el-radio label="1">破损</el-radio>
                    <el-radio label="2">其他</el-radio>
                  </el-radio-group>
                  <span v-if="info.oralMucosa === '2'">
                    <input
                      v-model="info.oralMucosaOther"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 212px"
                    />
                  </span>
                  <span v-if="info.oralMucosa !== '2'">
                    <input
                      v-model="info.oralMucosaOther"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 212px"
                      disabled="true"
                    />
                  </span>
                </div>
              </div>
              <!--  -->
              <div
                style="
                  width: 840px;
                  height: 50px;
                  float: left;
                  margin-top: -15px;
                "
              >
                <div>
                  皮肤：
                  <el-checkbox
                    v-model="info.skinNormal"
                    label="正常"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.skinEdema"
                    label="水肿"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.skinJaundice"
                    label="黄疸"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.skinPale"
                    label="苍白"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.skinCyanosis"
                    label="发绀"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.skinRash"
                    label="皮疹"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.skinEcchymosis"
                    label="瘀斑"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.skinDamaged"
                    label="破损"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.skinOther"
                    label="其他"
                    true-label="1"
                    false-label="0"
                  />
                  <span v-if="info.skinOther === '1'">
                    <input
                      v-model="info.skinOtherContent"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 147px"
                    />
                  </span>
                  <span v-if="info.skinOther !== '1'">
                    <input
                      v-model="info.skinOtherContent"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 147px"
                      disabled="true"
                    />
                  </span>
                </div>
              </div>
              <!--  -->
              <div
                style="
                  width: 840px;
                  height: 50px;
                  float: left;
                  margin-top: -15px;
                "
              >
                <div>
                  <span style="float: left">压疮： </span>
                  <el-radio-group
                    v-model="info.pressureSore"
                    style="margin-right: 10px; float: left"
                  >
                    <el-radio label="0">无</el-radio>
                    <el-radio label="1">有</el-radio>
                  </el-radio-group>
                  <span v-if="info.pressureSore === '1'">
                    <span style="width: 177px; float: left; margin-left: 32px">
                      部位
                      <input
                        v-model="info.pressureSorePosition"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        style="width: 130px; margin-left: 10px"
                      />
                    </span>
                    <span style="width: 177px; float: left; margin-left: 56px">
                      分期
                      <input
                        v-model="info.pressureSoreLevel"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        style="width: 130px; margin-left: 10px"
                      />
                    </span>
                    <span style="width: 177px; float: left; margin-left: 56px">
                      范围
                      <input
                        v-model="info.pressureSoreRange"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        style="width: 130px; margin-left: 10px"
                      />
                    </span>
                  </span>
                  <span v-if="info.pressureSore !== '1'">
                    <span style="width: 170px; float: left; margin-left: 32px">
                      部位
                      <input
                        v-model="info.pressureSorePosition"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        class="tiwen"
                        style="width: 150px"
                        disabled="true"
                      />
                    </span>
                    <span style="width: 170px; float: left; margin-left: 57px">
                      分期
                      <input
                        v-model="info.pressureSoreLevel"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        class="tiwen"
                        style="width: 150px"
                        disabled="true"
                      />
                    </span>
                    <span style="width: 170px; float: left; margin-left: 57px">
                      范围
                      <input
                        v-model="info.pressureSoreRange"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        class="tiwen"
                        style="width: 156px"
                        disabled="true"
                      />
                    </span>
                  </span>
                </div>
              </div>
              <!--  -->
              <!--  -->
              <div style="width: 840px; float: left; margin-top: -15px">
                <div style="margin-bottom: 15px">
                  排泄情况：小便：
                  <el-checkbox
                    v-model="info.urineNormal"
                    style="margin-bottom: 12px"
                    label="正常"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.urineIncontinence"
                    label="失禁"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.urineFrequent"
                    label="尿频"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.urineUrgency"
                    label="尿急"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.urinePain"
                    label="尿痛"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.urineLittle"
                    label="尿少"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.urineRetention"
                    label="尿滞留"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.urineBlood"
                    label="血尿"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.urineProtein"
                    label="蛋白尿"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.urineRetentionCatheter"
                    style="margin-left: 132px"
                    label="保留尿管"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.urineStoma"
                    label="造口"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.urineOther"
                    label="其他"
                    true-label="1"
                    false-label="0"
                  />
                  <span v-if="info.urineOther === '1'">
                    <input
                      v-model="info.urineOtherContent"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 150px"
                    />
                  </span>
                  <span v-if="info.urineOther !== '1'">
                    <input
                      v-model="info.urineOtherContent"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 150px"
                      disabled="true"
                    />
                  </span>
                </div>
                大便：
                <el-checkbox
                  v-model="info.shitNormal"
                  label="正常"
                  true-label="1"
                  false-label="0"
                />
                <el-checkbox
                  v-model="info.shitIncontinence"
                  label="失禁"
                  true-label="1"
                  false-label="0"
                />
                <el-checkbox
                  v-model="info.shitConstipation"
                  label="便秘"
                  true-label="1"
                  false-label="0"
                />
                <el-checkbox
                  v-model="info.shitBlood"
                  label="便血"
                  true-label="1"
                  false-label="0"
                />
                <el-checkbox
                  v-model="info.shitStoma"
                  label="造口"
                  true-label="1"
                  false-label="0"
                />
                <el-checkbox
                  v-model="info.shitOther"
                  label="其他"
                  true-label="1"
                  false-label="0"
                />
                <span v-if="info.shitOther === '1'">
                  <input
                    v-model="info.shitOtherContent"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    class="tiwen"
                    style="width: 135px"
                  />
                </span>
                <span v-if="info.shitOther !== '1'">
                  <input
                    v-model="info.shitOtherContent"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    class="tiwen"
                    style="width: 135px"
                    disabled="true"
                  />
                </span>
                <el-checkbox
                  v-model="info.shitDiarrhea"
                  label="腹泻"
                  true-label="1"
                  false-label="0"
                  style="margin-left: 150px"
                />
                <span v-if="info.shitDiarrhea === '1'">
                  <input
                    v-model="info.shitDiarrheaNum"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    placeholder=""
                    class="tiwen"
                    style="width: 139px"
                  />
                </span>
                <span v-if="info.shitDiarrhea !== '1'">
                  <input
                    v-model="info.shitDiarrheaNum"
                    autocomplete="off"
                    spellcheck="false"
                    type="text"
                    placeholder=""
                    class="tiwen"
                    style="width: 139px"
                    disabled="true"
                  />
                </span>
              </div>
              <!--  -->
              <!--  -->
              <div style="height: 50px; float: left; margin-top: 15px">
                <div>
                  情绪状态：
                  <el-checkbox
                    v-model="info.emotionStable"
                    label="稳定"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.emotionAnxious"
                    label="焦虑"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.emotionNervous"
                    label="紧张"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.emotionFear"
                    label="恐惧"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.emotionOther"
                    label="其他"
                    true-label="1"
                    false-label="0"
                  />

                  <span v-if="info.emotionOther === '1'">
                    <input
                      v-model="info.emotionOtherContent"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 150px"
                    />
                  </span>
                  <span v-if="info.emotionOther !== '1'">
                    <input
                      v-model="info.emotionOtherContent"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      placeholder=""
                      class="tiwen"
                      style="width: 399px"
                      disabled="true"
                    />
                  </span>
                </div>
              </div>
              <!--  -->
              <!--  -->
              <div
                style="
                  width: 840px;
                  position: relative;
                  top: -15px;
                  left: -376px;
                "
              >
                <div
                  style="margin-bottom: 15px; float: left; margin-left: 376px"
                >
                  生活习惯:
                  <span style="font-size: 14px">吸烟：</span>

                  <el-radio-group v-model="info.smoke">
                    <el-radio label="0">是</el-radio>
                    <el-radio label="1">否</el-radio>
                  </el-radio-group>
                  <span v-if="info.smoke === '1'">
                    <input
                      v-model="info.smokeContent"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 150px"
                    />
                  </span>
                  <span v-if="info.smoke !== '1'">
                    <input
                      v-model="info.smokeContent"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 150px"
                      disabled="true"
                    />
                  </span>
                  <span style="position: relative; left: 219px">
                    <span style="font-size: 14px">饮酒：</span>
                    <el-radio-group v-model="info.drink">
                      <el-radio label="0">是</el-radio>
                      <el-radio label="1">否</el-radio>
                    </el-radio-group>
                    <span v-if="info.drink === '1'">
                      <input
                        v-model="info.drinkContent"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        class="tiwen"
                        style="width: 150px"
                      />
                    </span>
                    <span v-if="info.drink !== '1'">
                      <input
                        v-model="info.drinkContent"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        class="tiwen"
                        style="width: 150px"
                        disabled="true"
                      />
                    </span>
                  </span>
                </div>
                <div
                  style="
                    width: 535px;
                    margin-bottom: 15px;
                    float: left;
                    margin-left: 449px;
                  "
                >
                  <span style="font-size: 14px; margin-right: 8px"
                    >饮食习惯:</span
                  >
                  <el-checkbox
                    v-model="info.dietSalty"
                    label="咸"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.dietSweet"
                    label="甜"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.dietPungent"
                    label="辛辣"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.dietGreasy"
                    label="油腻"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.dietLight"
                    label="清淡"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.dietOther"
                    label="其他"
                    true-label="1"
                    false-label="0"
                  />
                  <span v-if="info.dietOther === '1'">
                    <input
                      v-model="info.dietOtherContent"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 150px"
                    />
                  </span>
                  <span v-if="info.dietOther !== '1'">
                    <input
                      v-model="info.dietOtherContent"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 120px"
                      disabled="true"
                    />
                  </span>
                  <span style="position: relative; left: 140px">
                    <span style="font-size: 14px">忌食:</span>
                    <input
                      v-model="info.dietAvoid"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 135px"
                    />
                  </span>
                </div>
                <div
                  style="
                    width: 700px;
                    margin-bottom: 15px;
                    float: left;
                    margin-left: 450px;
                  "
                >
                  <span style="font-size: 14px; margin-right: 8px">睡眠:</span>
                  <el-checkbox
                    v-model="info.sleepNormal"
                    label="正常"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.sleepLotDream"
                    label="多梦"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.sleepToWakeUp"
                    label="易醒"
                    true-label="1"
                    false-label="0"
                  />
                  <el-checkbox
                    v-model="info.sleepHard"
                    label="入睡困难"
                    true-label="1"
                    false-label="0"
                  />
                  <span style="position: relative; left: 64px; font-size: 14px">
                    每日睡眠:
                    <input
                      v-model="info.sleepHour"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 50px"
                    />
                    <span
                      style="
                        position: absolute;
                        left: 120px;
                        top: 2px;
                        width: 37px;
                      "
                      >小时</span
                    >
                  </span>
                </div>
                <!--  -->
                <div
                  style="margin-bottom: 15px; float: left; margin-left: 450px"
                >
                  <span style="font-size: 14px; margin-right: 8px"
                    >药物辅助:</span
                  >
                  <el-radio-group v-model="info.sleepDrugAssisted">
                    <el-radio label="0">是</el-radio>
                    <el-radio label="1">否</el-radio>
                  </el-radio-group>
                  <span v-if="info.sleepDrugAssisted === '1'">
                    <input
                      v-model="info.sleepDrugAssistedContent"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 150px"
                    />
                  </span>
                  <span v-if="info.sleepDrugAssisted !== '1'">
                    <input
                      v-model="info.sleepDrugAssistedContent"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 150px"
                      disabled="true"
                    />
                  </span>
                  <span
                    style="display: block; margin-top: 12px; margin-left: -74px"
                  >
                    评分时间：
                    <el-date-picker
                      v-model="info.scoreTime"
                      style=""
                      type="datetime"
                      value-format="yyyy-MM-dd HH:mm:ss"
                      placeholder="选择日期时间"
                    />
                  </span>
                </div>
                <!--  -->
                <div
                  style="
                    width: 840px;
                    height: 50px;
                    float: left;
                    margin-left: 375px;
                    margin-top: 10px;
                  "
                >
                  <span style="width: 180px; float: left">
                    Braden评分
                    <input
                      v-model="info.bradenScore"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 80px"
                      @dblclick.native="(dialogCheckVisible = true), checkout()"
                    />
                    <span style="position: absolute; left: 560px; width: 37px"
                      >分</span
                    >
                  </span>
                  <span style="width: 180px; float: left; margin-left: 30px">
                    Morse评分
                    <input
                      v-model="info.morseScore"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 80px"
                    />
                    <span style="position: absolute; left: 762px; width: 37px"
                      >分</span
                    >
                  </span>
                  <span style="width: 180px; float: left; margin-left: 22px">
                    Autar-DVT评分
                    <input
                      v-model="info.autarDvtScore"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 80px"
                    />
                    <span style="position: absolute; left: 995px; width: 37px"
                      >分</span
                    >
                  </span>
                  <span style="width: 180px; float: left; margin-left: 55px">
                    ADL评分
                    <input
                      v-model="info.adlScore"
                      autocomplete="off"
                      spellcheck="false"
                      type="text"
                      class="tiwen"
                      style="width: 80px"
                    />
                    <span style="position: absolute; left: 1186px; width: 37px"
                      >分</span
                    >
                  </span>
                </div>
                <!--  -->
                <div
                  style="
                    width: 840px;
                    float: left;
                    margin-left: 376px;
                    margin-top: -15px;
                  "
                >
                  <div style="margin-bottom: 15px">
                    家属态度：
                    <el-radio-group v-model="info.familyAttitude">
                      <el-radio label="1">关心</el-radio>
                      <el-radio label="2">不关心</el-radio>
                      <el-radio label="3">过于关心</el-radio>
                      <el-radio label="4">无人照顾</el-radio>
                      <el-radio label="5">无人照顾</el-radio>
                    </el-radio-group>
                  </div>
                </div>
                <!--  -->
                <!--  -->
                <div style="width: 840px; float: left; margin-left: 376px">
                  <div style="margin-bottom: 15px">
                    <span>
                      饮食状况：
                      <el-radio-group v-model="info.dietaryStatus">
                        <el-radio label="1">一般</el-radio>
                        <el-radio label="2">良好</el-radio>
                        <el-radio label="3">较差</el-radio>
                      </el-radio-group>
                    </span>
                    <span style="position: relative; left: 30px">
                      自理能力：
                      <el-radio-group v-model="info.selfCareAbility">
                        <el-radio label="1">一般</el-radio>
                        <el-radio label="2">良好</el-radio>
                        <el-radio label="3">较差</el-radio>
                      </el-radio-group>
                    </span>
                  </div>
                </div>
                <!--  -->
                <!--  -->
                <div style="width: 840px; float: left; margin-left: 376px">
                  <div style="margin-bottom: 15px">
                    <span>
                      隔离状况：
                      <el-select
                        v-model="info.isolationStatus"
                        placeholder="请选择"
                        clearable
                        filterable
                      >
                        <el-option
                          v-for="item in isolationStatus"
                          :key="item.code"
                          :label="item.itemName"
                          :value="item.code"
                        />
                      </el-select>
                    </span>
                    <span style="position: relative; left: 50px">
                      有无呕吐：
                      <el-radio-group v-model="info.vomit">
                        <el-radio label="1">有</el-radio>
                        <el-radio label="0">无</el-radio>
                      </el-radio-group>
                    </span>
                  </div>
                </div>
                <!--  -->
                <!--  -->
                <div style="width: 840px; float: left; margin-left: 376px">
                  <div style="margin-bottom: 15px">
                    <span>
                      发育程度：
                      <el-select
                        v-model="info.developmentalDegree"
                        placeholder="请选择"
                        clearable
                        filterable
                      >
                        <el-option
                          v-for="item in developmentalDegree"
                          :key="item.code"
                          :label="item.itemName"
                          :value="item.code"
                        />
                      </el-select>
                    </span>
                    <span style="position: relative; left: 50px">
                      健康状况：
                      <el-radio-group v-model="info.health">
                        <el-radio label="1">健康</el-radio>
                        <el-radio label="0">不健康</el-radio>
                      </el-radio-group>
                    </span>
                    <span style="position: relative; left: 75px">
                      传染性疾病:
                      <el-radio-group v-model="info.infectiousDiseases">
                        <el-radio label="1">有</el-radio>
                        <el-radio label="0">无</el-radio>
                      </el-radio-group>
                    </span>
                  </div>
                </div>
                <!--  -->

                <div>
                  <div
                    class="title_one"
                    style="float: left; margin-left: 376px"
                  >
                    三、入院宣教
                  </div>
                  <!--  -->
                  <div style="width: 840px; float: left; margin-left: 376px">
                    <div style="margin-bottom: 15px">
                      <span
                        class="spp"
                        style="margin-bottom: 15px; float: left"
                      >
                        <el-checkbox
                          v-model="info.bedsideDoctor"
                          label="床位医生"
                          true-label="1"
                          false-label="0"
                        />
                        <el-checkbox
                          v-model="info.responsibleNurse"
                          label="责任护士"
                          true-label="1"
                          false-label="0"
                        />
                        <el-checkbox
                          v-model="info.wardEnvironment"
                          label="病房环境"
                          true-label="1"
                          false-label="0"
                        />
                        <el-checkbox
                          v-model="info.wardSystem"
                          label="病房制度"
                          true-label="1"
                          false-label="0"
                        />
                        <el-checkbox
                          v-model="info.visitingRegulations"
                          label="探视规定"
                          true-label="1"
                          false-label="0"
                        />
                        <el-checkbox
                          v-model="info.dietaryArrangement"
                          label="膳食安排"
                          true-label="1"
                          false-label="0"
                        />
                      </span>
                      <span class="spps">
                        <el-checkbox
                          v-model="info.psychologicalCounseling"
                          label="心理疏导"
                          true-label="1"
                          false-label="0"
                          class="customer-checkbox"
                        />
                        <el-checkbox
                          v-model="info.noGoingOut"
                          label="禁止外出"
                          true-label="1"
                          false-label="0"
                          class="customer-checkbox"
                        />
                        <el-checkbox
                          v-model="info.wristStrap"
                          label="腕带佩戴"
                          true-label="1"
                          false-label="0"
                          class="customer-checkbox"
                        />
                        <el-checkbox
                          v-model="info.inHospitalOther"
                          label="其他"
                          true-label="1"
                          false-label="0"
                        />
                        <span v-if="info.inHospitalOther === '1'">
                          <input
                            v-model="info.inHospitalOtherContent"
                            autocomplete="off"
                            spellcheck="false"
                            type="text"
                            class="tiwen"
                            style="width: 150px"
                          />
                        </span>
                        <span v-if="info.inHospitalOther !== '1'">
                          <input
                            v-model="info.inHospitalOtherContent"
                            autocomplete="off"
                            spellcheck="false"
                            type="text"
                            class="tiwen"
                            style="width: 150px"
                            disabled="true"
                          />
                        </span>
                      </span>
                    </div>
                  </div>
                  <!--  -->
                  <div
                    class="title_one"
                    style="float: left; margin-left: 376px; margin-bottom: 10px"
                  >
                    四、护理计划及措施
                  </div>
                  <!--  -->
                  <div style="width: 840px; float: left; margin-left: 376px">
                    <div style="margin-bottom: 15px">
                      <span>
                        皮肤护理：
                        <input
                          v-model="info.skinNursing"
                          autocomplete="off"
                          spellcheck="false"
                          type="text"
                          class="tiwen"
                          style="width: 180px"
                          @dblclick.native="rigthDiongs()"
                        />
                      </span>
                      <span style="position: relative; left: 198px">
                        营养护理：
                        <input
                          v-model="info.nutritionNursing"
                          autocomplete="off"
                          spellcheck="false"
                          type="text"
                          class="tiwen"
                          style="width: 180px"
                        />
                      </span>
                      <span style="position: relative; left: 396px">
                        体位护理：
                        <input
                          v-model="info.postureNursing"
                          autocomplete="off"
                          spellcheck="false"
                          type="text"
                          class="tiwen"
                          style="width: 180px"
                        />
                      </span>
                    </div>
                  </div>
                  <!--  -->
                  <!--  -->
                  <div style="width: 840px; float: left; margin-left: 376px">
                    <div style="margin-bottom: 15px">
                      <span>
                        心理护理:
                        <el-select
                          v-model="info.mentalNursing"
                          placeholder="请选择"
                          clearable
                          filterable
                          style="width: 244px"
                        >
                          <el-option
                            v-for="item in mentalNursing"
                            :key="item.code"
                            :label="item.itemName"
                            :value="item.code"
                          />
                        </el-select>
                      </span>
                      <span style="position: relative; left: 10px">
                        饮食护理:
                        <el-select
                          v-model="info.dietNursing"
                          placeholder="请选择"
                          clearable
                          filterable
                          style="width: 179px"
                        >
                          <el-option
                            v-for="item in dietNursing"
                            :key="item.code"
                            :label="item.itemName"
                            :value="item.code"
                          />
                        </el-select>
                      </span>
                      <span style="position: relative; left: 10px">
                        安全护理:
                        <el-select
                          v-model="info.safetyNursing"
                          placeholder="请选择"
                          clearable
                          filterable
                          style="width: 178px"
                        >
                          <el-option
                            v-for="item in safetyNursing"
                            :key="item.code"
                            :label="item.itemName"
                            :value="item.code"
                          />
                        </el-select>
                      </span>
                    </div>
                  </div>
                  <!--  -->
                  <div style="width: 840px; float: left; margin-left: 376px">
                    <div style="margin-bottom: 15px">
                      异常情况描述:
                      <input
                        v-model="info.abnormalDescription"
                        autocomplete="off"
                        spellcheck="false"
                        type="text"
                        class="tiwen"
                        style="width: 738px"
                      />
                    </div>
                  </div>
                  <!--  -->
                  <!--  -->
                  <div style="width: 840px; float: left; margin-left: 376px">
                    <div style="margin-bottom: 15px">
                      <span style="float: left; margin-top: 14px">
                        通知医生时间:
                      </span>
                      <el-date-picker
                        v-model="info.informDoctorTime"
                        style="position: absolute"
                        type="datetime"
                        value-format="yyyy-MM-dd HH:mm:ss"
                        placeholder="选择日期时间"
                      />
                    </div>
                  </div>
                  <!--  -->
                  <!--  -->
                  <div
                    style="
                      width: 840px;
                      float: left;
                      margin-left: 376px;
                      margin-top: 20px;
                    "
                  >
                    <div style="margin-bottom: 15px">
                      <span>
                        护士签名:
                        <el-select
                          v-model="info.nurseSignature"
                          placeholder="请选择"
                          clearable
                          filterable
                          remote
                          :remote-method="remoteMethod"
                          :loading="selectLoading"
                        >
                          <el-option
                            v-for="item in arrName"
                            :key="item.id"
                            :label="item.user_name"
                            :value="item.login_name"
                          />
                        </el-select>
                      </span>
                      <span style="position: relative">
                        审核护士签名:
                        <el-select
                          v-model="info.examineNurseSignature"
                          placeholder="请选择"
                          clearable
                          filterable
                          remote
                          :remote-method="remoteMethod"
                          :loading="selectLoading"
                        >
                          <el-option
                            v-for="item in arrName"
                            :key="item.id"
                            :label="item.user_name"
                            :value="item.login_name"
                          />
                        </el-select>
                      </span>
                      <span style="position: relative">
                        时间:

                        <el-date-picker
                          v-model="info.examineTime"
                          style="position: absolute; width: 219px"
                          type="datetime"
                          value-format="yyyy-MM-dd HH:mm:ss"
                          placeholder="选择日期时间"
                        />
                      </span>
                    </div>
                  </div>
                  <!--  -->
                </div>
              </div>
            </div>
          </div>
        </el-dialog>
      </div>

      <!-- 历史记录-评估列表 -->
      <el-drawer title="评估列表" :visible.sync="drawerp">
        <el-table
          :data="historylist"
          style="width: 100%"
          stripe
          :header-cell-style="{
            background: '#d2e0f9',
            color: '#606266',
          }"
        >
          <el-table-column
            label="序号"
            type="index"
            align="center"
            width="80"
          />
          <el-table-column prop="data_time" label="评估时间" width="200" />
          <el-table-column prop="user_name" label="评估人" />
          <el-table-column label="操作" align="center" width="154">
            <template slot-scope="scope">
              <el-button
                slot="reference"
                size="mini"
                style="margin-left: 10px"
                type="primary"
                @click="choice(scope)"
                >选择</el-button
              >
              <el-popover
                :ref="`popover-${scope.$index}`"
                trigger="click"
                placement="top"
                width="100"
              >
                <p class="el-icon-warning">确定删除</p>
                <div style="text-align: right; margin: 0">
                  <el-button size="mini" type="text" @click="no(scope)"
                    >取消</el-button
                  >
                  <el-button type="primary" size="mini" @click="yes(scope)"
                    >确定</el-button
                  >
                </div>
                <el-button
                  slot="reference"
                  size="mini"
                  style="margin-left: 10px"
                  type="danger"
                  >删除</el-button
                >
              </el-popover>
            </template>
          </el-table-column>
        </el-table>
      </el-drawer>
    </el-card>
    <!-- 护理记录 -->
    <el-drawer title="护理记录" :visible.sync="drawerh" :with-header="false">
      <div class="modelBox">
        <div
          v-for="(item, index) in rightList"
          id="modelItem"
          :key="index"
          :class="index == isActive ? 'isActive' : ''"
          @click="son(item, index)"
        >
          <span id="text" :class="index == s1 ? 's1' : ''">{{
            item.name
          }}</span>
          <span id="textn" :class="index == s2 ? 's2' : ''"
            >模板数量：
            <span style="width: auto; display: inline-block; color: #19be6b">{{
              item.amount
            }}</span
            >个</span
          >
        </div>
      </div>
      <div class="jiansuo-box">
        <el-switch
          v-model="value"
          active-color="#13ce66"
          inactive-color="#ff4949"
          class="kaiguan"
        />

        <div class="kuangBox">
          <span class="span_top">模板名称/简拼：</span>
          <el-input v-model="moban" class="bed" placeholder="请输入" />
        </div>
        <el-button
          type="primary"
          size="small"
          style="margin-right: 5px"
          @click="btnRight"
          >检索</el-button
        >
      </div>
      <el-card class="box-card">
        <el-table
          :data="tableDataRight"
          border
          style="width: 100%"
          stripe
          :header-cell-style="{
            background: '#d2e0f9',
            color: '#606266',
          }"
        >
          <el-table-column type="expand">
            <template slot-scope="scope">
              <el-form label-position="left" inline class="demo-table-expand">
                <el-form-item>
                  <span>{{ scope.row.content }}</span>
                </el-form-item>
              </el-form>
            </template>
          </el-table-column>
          <el-table-column
            type="index"
            label="序号"
            width="50"
            align="center"
          />
          <el-table-column
            prop="name"
            label="模板名称"
            width="200"
            align="center"
          >
            <template slot-scope="scope">
              <span style="margin-left: 10px">{{
                scope.row.template_item_name
              }}</span>
            </template>
          </el-table-column>
          <el-table-column label="类型" align="center" width="120">
            <template slot-scope="scope">
              <span style="margin-left: 10px">{{
                scope.row.dict_template_name
              }}</span>
            </template>
          </el-table-column>
          <el-table-column label="操作" align="center" header-align="center">
            <template slot-scope="scope">
              <el-tooltip
                class="item"
                style="padding-right: 20px"
                effect="dark"
                content="选择"
                placement="bottom-start"
              >
                <span>
                  <i
                    class="el-icon-circle-check"
                    style="cursor: pointer; padding-left: 21px"
                    @click="setLine(scope.row)"
                  />
                </span>
              </el-tooltip>
            </template>
          </el-table-column>
        </el-table>
        <!-- 分页 -->
        <div class="paging">
          <el-pagination
            :current-page="start"
            :page-size="PageSize"
            :pager-count="5"
            layout="total, sizes, prev, pager, next, jumper"
            :total="totalCount"
            @size-change="handleSizeChange"
            @current-change="handleCurrentChange"
          />
        </div>
      </el-card>
    </el-drawer>
  </div>
</template>

<script>
import { printExcel } from "@/utils/config"; //导入模块
import { jyxdPagePrint } from "@/utils/jyxd-page-printer.js";

import {
  hospitalizedAssessmentSaveData,
  getCodeListByName,
  getUserListByUserType,
  patientgetList,
  assessmentGetList, // 历史列表--分页查询列表
  assessmentChooseData, // 历史列表--选择
  assessmentDeleteData, // 历史列表--删除
  getTemplateNameAndAmount, // 护理记录--查询护理模板名称列表及其数量
  getListlei, // 根据条件查询护理类型列表（也可以不分页）
  nursingRecordEdit, // 护理记录--编辑一条护理记录
  getListByCode,
  usergetList, findPage, // 护理记录--查询护理记录列表
} from "@/api/table";
import { Message } from "element-ui";
import { edit } from "../../api/table";
export default {
  data() {
    return {
      pageNum:1,
      printParam: {
        print_id: "print-div", //完整打印区域最外包裹, id名
        paper_height: "1240", //纸张长度，目前不自动分页，页面代码自行设计分页模式
        paper_width: "850", //纸张宽度，根据横向纵向调整，影响页面折行效果
        preview: "",
      },
      age: "",
      garbage: false,
      dialogVisiblePrint: false, // 打印预览
      drawerp: false, // 历史记录--评估列表
      historylist: [],
      user_name: "",
      data_time: "",
      selectLoading: false,
      drawerh: false, // 右侧弹窗--护理措施
      moban: "",
      value: "",
      idds: "",
      rightList: [],
      rightid: "",
      isActive: 0,
      s1: 0,
      s2: 0,
      tableDataRight: [],
      // 护理记录单
      tableDatarecord: [],
      start: 1, // 默认显示第几页
      totalCount: 0, // 总条数，根据接口获取数据长度(注意 : 这里不能为空)
      pgeSizes: [10, 20, 30, 40], // 个数选择器（可修改）
      PageSize: 10, // 默认每页显示的条数（可修改）

      data: {},
      nation: [],

      occupation: [],
      maritalStatus: [],
      education: [],
      isolationStatus: [],
      developmentalDegree: [],
      dietNursing: [],
      mentalNursing: [],
      safetyNursing: [],
      arrName: [],
      nurseSignature: [],
      examineNurseSignature: [],
      dataTime: "",
      info: {
        visitId: "",
        visitCode: "",
        patientId: "",

        nation: "", // 民族
        occupation: "", // 职业
        maritalStatus: "", // 婚姻
        education: "", // 文化
        contactPerson: "", // 联系人及电话
        visitTime: "", // 入院时间
        visitMethod: "", // 入院方式
        visitDiagnosis: "", // 入院诊断
        visitMethodOther: "", // 入院方式-其他-内容
        pastHistory: "", // 既往史
        hypertension: "", // 高血压
        heartDisease: "", // 心脏病
        diabetes: "", // 糖尿病
        cerebralVascularDisease: "", // 脑血管病
        mentalDisease: "", // 精神病
        operationHistory: "", // 手术史
        operationHistoryContent: "", // 手术史-内容
        pastHistoryOther: "", // 其他
        pastHistoryOtherContent: "", // 其他-内容
        allergyHistory: "", // 过敏史
        allergyDrug: "", // 药物
        allergyFood: "", // 食物
        allergyOther: "", // 其他
        measureTime: "", // 护理评估-时间
        visitT: "", // 护理评估-T
        visitP: "", // //护理评估-P
        visitR: "", // //护理评估-R
        visitBP: "", // //护理评估-BP
        visitWeight: "", // //护理评估-体重
        mind: "", // 神志
        communicationLanguage: "", // 沟通方式-语言
        communicationFont: "", // 沟通方式-文字
        communicationGesture: "", //* 沟通方式-手势
        communicationNo: "", //* 沟通方式-无法评估
        comprehensionAbilityGood: "", //* 理解能力-良好
        comprehensionAbilityCommonly: "", //* 理解能力-一般
        comprehensionAbilityBad: "", //* 理解能力-差
        comprehensionAbilityNo: "", //* 理解能力-无法评估
        vision: "", // 视力
        visionAbnormal: "", // 视力-异常-内容
        hearing: "", // 听力
        hearingAbnormal: "", // 听力-异常-内容
        falseTooth: "", // 义齿
        oralMucosa: "", // 口腔黏膜
        oralMucosaOther: "", // 口腔黏膜-其他-内容
        skinNormal: "", // 皮肤-正常
        skinEdema: "", // 皮肤-水肿
        skinJaundice: "", // 皮肤-黄疸
        skinPale: "", // 皮肤-苍白
        skinCyanosis: "", // 皮肤-发绀
        skinRash: "", // 皮肤-皮疹
        skinEcchymosis: "", // 皮肤-瘀斑
        skinDamaged: "", // 皮肤-破损
        skinOther: "", // 皮肤-其他
        skinOtherContent: "", // 皮肤-其他-内容
        pressureSore: "", // 压疮
        pressureSorePosition: "", // 压疮-部位
        pressureSoreLevel: "", // 压疮-分期
        pressureSoreRange: "", // 压疮-范围
        urineNormal: "", // 小便情况-正常
        urineIncontinence: "", // 小便情况-失禁
        urineFrequent: "", // 小便情况-尿频
        urineUrgency: "", // 小便情况-尿急
        urinePain: "", // 小便情况-尿痛
        urineLittle: "", // 小便情况-尿少
        urineRetention: "", // 小便情况-尿滞留
        urineBlood: "", // 小便情况-血尿
        urineProtein: "", // 小便情况-蛋白尿
        urineRetentionCatheter: "", // 小便情况-保留尿管
        urineStoma: "", // 小便情况-造口
        urineOther: "", // 小便情况-其他
        urineOtherContent: "", // 小便情况-其他-内容
        shitNormal: "", // 大便-正常
        shitIncontinence: "", // 大便-失禁
        shitConstipation: "", // 大便-便秘
        shitBlood: "", // 大便-便血
        shitDiarrhea: "", // 大便-腹泻
        shitDiarrheaNum: "", // 大便-腹泻-内容
        shitStoma: "", // 大便-造口
        shitOther: "", // 大便-其他
        shitOtherContent: "", // 大便-其他-内容
        emotionStable: "", // 情绪状态-稳定
        emotionAnxious: "", // 情绪状态-焦虑
        emotionNervous: "", // 情绪状态-紧张
        emotionFear: "", // 情绪状态-恐惧
        emotionOther: "", // 情绪状态-其他
        emotionOtherContent: "", // 情绪状态-其他-内容
        smoke: "", // 吸烟
        smokeContent: "", // 吸烟-内容
        drink: "", // 饮酒
        drinkContent: "", // 饮酒-内容
        dietSalty: "", // 饮食习惯-咸
        dietSweet: "", // 饮食习惯-甜
        dietGreasy: "", // 饮食习惯-辛辣
        dietPungent: "", // 饮食习惯-油腻
        dietLight: "", // 饮食习惯-清淡
        dietOther: "", // 饮食习惯-其他
        dietOtherContent: "", // 饮食习惯-其他-内容
        dietAvoid: "", // 忌食
        sleepNormal: "", // 睡眠-正常
        sleepLotDream: "", // 睡眠-多梦
        sleepToWakeUp: "", // 睡眠-易醒
        sleepHard: "", // 睡眠-入睡困难
        sleepHour: "", // 睡眠-每日睡眠
        sleepDrugAssisted: "", // 睡眠-药物辅助
        sleepDrugAssistedContent: "", // 睡眠-药物辅助-内容
        scoreTime: "", // 评分时间
        bradenScore: "", // Braden评分
        morseScore: "", // Morse评分
        autarDvtScore: "", // Autar-DVT评分
        adlScore: "", // ADL评分
        familyAttitude: "", // 家属态度
        dietaryStatus: "", // 饮食状况
        selfCareAbility: "", // 自理能力
        isolationStatus: "", // 隔离状况
        vomit: "", // 有无呕吐
        developmentalDegree: "", // 发育程度
        health: "", // 健康状况
        infectiousDiseases: "", // 传染性疾病
        bedsideDoctor: "", // 入院宣教-床位医生
        responsibleNurse: "", // 入院宣教-责任护士
        wardEnvironment: "", // 入院宣教-病房环境
        wardSystem: "", // 入院宣教-病房制度
        visitingRegulations: "", // 入院宣教-探视规定
        dietaryArrangement: "", // 入院宣教-膳食安排
        psychologicalCounseling: "", // 入院宣教-心里疏导
        noGoingOut: "", // 入院宣教-禁止外出
        wristStrap: "", // 入院宣教-腕带佩戴
        inHospitalOther: "", // 入院宣教-其他
        inHospitalOtherContent: "", // 入院宣教-其他-内容
        skinNursing: "", // 皮肤护理
        nutritionNursing: "", // 营养护理
        postureNursing: "", // 体位护理
        mentalNursing: "", // 心里护理
        dietNursing: "", // 饮食护理
        safetyNursing: "", // 安全护理
        abnormalDescription: "", // 异常情况描述
        informDoctorTime: "", // 通知医生时间
        nurseSignature: "", // 护士签名
        examineNurseSignature: "", // 审核护士签名
        examineTime: "", // 护理计划及措施-时间
        dataTime: "",
      },
    };
  },
  computed: {
    getData() {
      return this.$store.state.user.severFall;
    },
  },
  watch: {
    getData: {
      handler(nVal) {
        this.data = this.$store.state.user.severFall;
        (this.info.visitId = this.data.visit_id),
          (this.info.visitCode = this.data.visit_code),
          (this.info.patientId = this.data.patient_id);
        this.data = this.$store.state.user.severFall;
        if (
          typeof this.data.patient_id != "string" ||
          this.data.patient_id.length < 1
        ) {
          alert("请选择一次病人");
          return;
        } else {
          this.huli();
        }
      },
      deep: true,
    },
  },

  mounted() {
    this.getNowDate();
    this.data = this.$store.state.user.severFall;
    if (
      typeof this.data.patient_id != "string" ||
      this.data.patient_id.length < 1
    ) {
      alert("请选择一次病人");
      return;
    } else {
      this.huli();
    }
    patientgetList({ visitId: this.data.visit_id }).then((res) => {
      if (res.data[0].age !== "") {
        this.age = res.data[0].age;
      }
    });
  },
  created() {
    this.data = this.$store.state.user.severFall;
    patientgetList({ visitId: this.data.visit_id }).then((res) => {
      if (res.data[0].age !== "") {
        this.age = res.data[0].age;
      }
    });
  },
  methods: {
    //设置页码
    findPageByPatientId(){
      findPage({
        patientId: this.data.patient_id,
      }).then((res) => {
        if(res.data!=null  &&　res.data.length>0){
          this.pageNum=res.data[0].pageNum;
        }else{
          this.pageNum=1;
        }
      });

    },
    // 当用户输入内容开始远程搜索模糊查询的时候，会触发remoteMethod方法
    remoteMethod(query) {
      if (query !== "") {
        let callBackArr = [];
        this.selectLoading = true;
        usergetList({
          workNumber: query,
        }).then((res) => {
          this.selectLoading = false;
          this.arrName = res.data;
        });
      }
    },
    //vuex传值
    huli() {
      this.data = this.$store.state.user.severFall;
      (this.info.visitId = this.data.visit_id),
        (this.info.visitCode = this.data.visit_code),
        (this.info.patientId = this.data.patient_id);

      // 民族下拉
      getCodeListByName({ status: 1, commonName: "民族" }).then((res) => {
        this.nation = res.data;
      });
      // 职业下拉
      getCodeListByName({ status: 1, commonName: "职业" }).then((res) => {
        this.occupation = res.data;
      });
      // 文化程度下拉
      getCodeListByName({ status: 1, commonName: "文化程度" }).then((res) => {
        this.education = res.data;
      });
      // 婚姻状况下拉
      getCodeListByName({ status: 1, commonName: "婚姻状况" }).then((res) => {
        this.maritalStatus = res.data;
      });
      // 隔离状况
      getCodeListByName({ status: 1, commonName: "隔离状况" }).then((res) => {
        this.isolationStatus = res.data;
      });
      // 发育程度
      getCodeListByName({ status: 1, commonName: "发育程度" }).then((res) => {
        this.developmentalDegree = res.data;
      });
      // 饮食护理
      getCodeListByName({ status: 1, commonName: "饮食护理" }).then((res) => {
        this.dietNursing = res.data;
      });
      // 心里护理
      getCodeListByName({ status: 1, commonName: "心理护理" }).then((res) => {
        this.mentalNursing = res.data;
      });
      // 心里护理
      getCodeListByName({ status: 1, commonName: "安全护理" }).then((res) => {
        this.safetyNursing = res.data;
      });
      // 签名
      getUserListByUserType().then((res) => {
        this.arrName = res.data;
      });
      //设置页码
      this.findPageByPatientId();
      if (
        this.data.unplanned == "" ||
        this.data.unplanned == null ||
        this.data.unplanned == 0
      ) {
        this.garbage = true;
        alert('请在首页补全患者信息')
        // this.$message({
        //   message: "请在首页补全患者信息",
        //   type: "warning",
        //   duration: 1500,
        // });
        return;
      } else {
        this.garbage = false;
      }
    },
    //获取当前时间
    getNowDate() {
      var date = new Date();
      // 年
      var year = date.getFullYear();
      // 月
      var month = date.getMonth() + 1;
      // 日
      var day = date.getDate();
      // 时
      var hh = date.getHours();
      // 分
      var mm = "";
      if (date.getMinutes() < 10) {
        mm = "0" + date.getMinutes();
      } else {
        mm = date.getMinutes();
      }
      // 秒
      var ss = "";
      if (date.getSeconds() < 10) {
        ss = "0" + date.getSeconds();
      } else {
        ss = date.getSeconds();
      }
      this.dataTime =
        year + "-" + month + "-" + day + " " + hh + ":" + mm + ":" + ss;
      this.info.dataTime = this.dataTime;
    },
    // 打印
    adnursingPrint() {
      if (
        typeof this.data.patient_id != "string" ||
        this.data.patient_id.length < 1
      ) {
        alert("请选择一次病人");
      } else {
        jyxdPagePrint(this.printParam);
      }
    },
    // 刷新
    record() {
      this.info = {
        visitId: "",
        visitCode: "",
        patientId: "",

        nation: "", // 民族
        occupation: "", // 职业
        maritalStatus: "", // 婚姻
        education: "", // 文化
        contactPerson: "", // 联系人及电话
        visitTime: "", // 入院时间
        visitMethod: "", // 入院方式
        visitDiagnosis: "", // 入院诊断
        visitMethodOther: "", // 入院方式-其他-内容
        pastHistory: "", // 既往史
        hypertension: "", // 高血压
        heartDisease: "", // 心脏病
        diabetes: "", // 糖尿病
        cerebralVascularDisease: "", // 脑血管病
        mentalDisease: "", // 精神病
        operationHistory: "", // 手术史
        operationHistoryContent: "", // 手术史-内容
        pastHistoryOther: "", // 其他
        pastHistoryOtherContent: "", // 其他-内容
        allergyHistory: "", // 过敏史
        allergyDrug: "", // 药物
        allergyFood: "", // 食物
        allergyOther: "", // 其他
        measureTime: "", // 护理评估-时间
        visitT: "", // 护理评估-T
        visitP: "", // //护理评估-P
        visitR: "", // //护理评估-R
        visitBP: "", // //护理评估-BP
        visitWeight: "", // //护理评估-体重
        mind: "", // 神志
        communicationLanguage: "", // 沟通方式-语言
        communicationFont: "", // 沟通方式-文字
        communicationGesture: "", //* 沟通方式-手势
        communicationNo: "", //* 沟通方式-无法评估
        comprehensionAbilityGood: "", //* 理解能力-良好
        comprehensionAbilityCommonly: "", //* 理解能力-一般
        comprehensionAbilityBad: "", //* 理解能力-差
        comprehensionAbilityNo: "", //* 理解能力-无法评估
        vision: "", // 视力
        visionAbnormal: "", // 视力-异常-内容
        hearing: "", // 听力
        hearingAbnormal: "", // 听力-异常-内容
        falseTooth: "", // 义齿
        oralMucosa: "", // 口腔黏膜
        oralMucosaOther: "", // 口腔黏膜-其他-内容
        skinNormal: "", // 皮肤-正常
        skinEdema: "", // 皮肤-水肿
        skinJaundice: "", // 皮肤-黄疸
        skinPale: "", // 皮肤-苍白
        skinCyanosis: "", // 皮肤-发绀
        skinRash: "", // 皮肤-皮疹
        skinEcchymosis: "", // 皮肤-瘀斑
        skinDamaged: "", // 皮肤-破损
        skinOther: "", // 皮肤-其他
        skinOtherContent: "", // 皮肤-其他-内容
        pressureSore: "", // 压疮
        pressureSorePosition: "", // 压疮-部位
        pressureSoreLevel: "", // 压疮-分期
        pressureSoreRange: "", // 压疮-范围
        urineNormal: "", // 小便情况-正常
        urineIncontinence: "", // 小便情况-失禁
        urineFrequent: "", // 小便情况-尿频
        urineUrgency: "", // 小便情况-尿急
        urinePain: "", // 小便情况-尿痛
        urineLittle: "", // 小便情况-尿少
        urineRetention: "", // 小便情况-尿滞留
        urineBlood: "", // 小便情况-血尿
        urineProtein: "", // 小便情况-蛋白尿
        urineRetentionCatheter: "", // 小便情况-保留尿管
        urineStoma: "", // 小便情况-造口
        urineOther: "", // 小便情况-其他
        urineOtherContent: "", // 小便情况-其他-内容
        shitNormal: "", // 大便-正常
        shitIncontinence: "", // 大便-失禁
        shitConstipation: "", // 大便-便秘
        shitBlood: "", // 大便-便血
        shitDiarrhea: "", // 大便-腹泻
        shitDiarrheaNum: "", // 大便-腹泻-内容
        shitStoma: "", // 大便-造口
        shitOther: "", // 大便-其他
        shitOtherContent: "", // 大便-其他-内容
        emotionStable: "", // 情绪状态-稳定
        emotionAnxious: "", // 情绪状态-焦虑
        emotionNervous: "", // 情绪状态-紧张
        emotionFear: "", // 情绪状态-恐惧
        emotionOther: "", // 情绪状态-其他
        emotionOtherContent: "", // 情绪状态-其他-内容
        smoke: "", // 吸烟
        smokeContent: "", // 吸烟-内容
        drink: "", // 饮酒
        drinkContent: "", // 饮酒-内容
        dietSalty: "", // 饮食习惯-咸
        dietSweet: "", // 饮食习惯-甜
        dietGreasy: "", // 饮食习惯-辛辣
        dietPungent: "", // 饮食习惯-油腻
        dietLight: "", // 饮食习惯-清淡
        dietOther: "", // 饮食习惯-其他
        dietOtherContent: "", // 饮食习惯-其他-内容
        dietAvoid: "", // 忌食
        sleepNormal: "", // 睡眠-正常
        sleepLotDream: "", // 睡眠-多梦
        sleepToWakeUp: "", // 睡眠-易醒
        sleepHard: "", // 睡眠-入睡困难
        sleepHour: "", // 睡眠-每日睡眠
        sleepDrugAssisted: "", // 睡眠-药物辅助
        sleepDrugAssistedContent: "", // 睡眠-药物辅助-内容
        scoreTime: "", // 评分时间
        bradenScore: "", // Braden评分
        morseScore: "", // Morse评分
        autarDvtScore: "", // Autar-DVT评分
        adlScore: "", // ADL评分
        familyAttitude: "", // 家属态度
        dietaryStatus: "", // 饮食状况
        selfCareAbility: "", // 自理能力
        isolationStatus: "", // 隔离状况
        vomit: "", // 有无呕吐
        developmentalDegree: "", // 发育程度
        health: "", // 健康状况
        infectiousDiseases: "", // 传染性疾病
        bedsideDoctor: "", // 入院宣教-床位医生
        responsibleNurse: "", // 入院宣教-责任护士
        wardEnvironment: "", // 入院宣教-病房环境
        wardSystem: "", // 入院宣教-病房制度
        visitingRegulations: "", // 入院宣教-探视规定
        dietaryArrangement: "", // 入院宣教-膳食安排
        psychologicalCounseling: "", // 入院宣教-心里疏导
        noGoingOut: "", // 入院宣教-禁止外出
        wristStrap: "", // 入院宣教-腕带佩戴
        inHospitalOther: "", // 入院宣教-其他
        inHospitalOtherContent: "", // 入院宣教-其他-内容
        skinNursing: "", // 皮肤护理
        nutritionNursing: "", // 营养护理
        postureNursing: "", // 体位护理
        mentalNursing: "", // 心里护理
        dietNursing: "", // 饮食护理
        safetyNursing: "", // 安全护理
        abnormalDescription: "", // 异常情况描述
        informDoctorTime: "", // 通知医生时间
        nurseSignature: "", // 护士签名
        examineNurseSignature: "", // 审核护士签名
        examineTime: "", // 护理计划及措施-时间
        dataTime: "",
      };
      this.getNowDate();
      if (
        typeof this.data.patient_id != "string" ||
        this.data.patient_id.length < 1
      ) {
        alert("请选择一次病人");
      } else {
        this.hui();
      }
    },

    // 保存
    btn() {
      if (
        typeof this.data.patient_id != "string" ||
        this.data.patient_id.length < 1
      ) {
        alert("请选择一次病人");
      } else {
        if (!this.info.patientId) {
          this.info.patientId = this.data.patient_id;
        }

        hospitalizedAssessmentSaveData(this.info).then((res) => {
          this.tableList = res.data;
          if (res.code === 200) {
            console.log(res);
            this.$message({
              message: res.msg,
              type: "success",
              duration: 1000,
            });
          } else {
            this.$message({
              message: res.msg,
              type: "error",
              duration: 1000,
            });
          }
        });
      }
    },
    // 历史记录  *----------*
    history() {
      if (
        typeof this.data.patient_id != "string" ||
        this.data.patient_id.length < 1
      ) {
        alert("请选择一次病人");
      } else {
        this.drawerp = true;
        if (this.info.patientId) {
          assessmentGetList({
            status: 1,
            patientId: this.info.patientId,
          }).then((res) => {
            this.historylist = res.data;
          });
        }
      }
    },
    yes(scope) {
      // 可以在这里执行删除数据的回调操作.......删除操作......
      assessmentDeleteData({
        status: 1,
        assessmentId: scope.row.assessment_id,
      }).then((res) => {
        this.$message({
          message: "删除成功",
          type: "success",
        });
        this.history();
      });
      scope._self.$refs[`popover-${scope.$index}`].doClose();
    },
    no(scope) {
      this.$message("取消删除");
      scope._self.$refs[`popover-${scope.$index}`].doClose();
    },
    // 选择
    choice(scope) {
      this.ids = scope.row.assessment_id;
      assessmentChooseData({
        status: 1,
        assessmentId: this.ids,
        patientId: this.data.patient_id,
      }).then((res) => {
        this.info = res.data;
      });
    },
    handleChange() {
      let number = 0;
      this.checkedEquipments.map((item, index) => {
        if (!isNaN(item)) {
          number += item;
        }
      });
      this.num = number;

      this.checkEquipArr = [];
      const arr = this.checkedEquipments;
      for (let i = 0; i < arr.length; i++) {
        const equipment = arr[i];
        if (equipment.length > 0) {
          const obj = {
            id: this.equipments[i],
            equips: [],
          };
          for (let j = 0; j < equipment.length; j++) {
            obj.equips.push(equipment[j]);
          }
          this.checkEquipArr.push(obj);
        }
      }
      queryDataByTypeAndScore({ type: this.datalist, score: this.num }).then(
        (res) => {
          this.font = res.data[0].description;
          this.frameElement = res.data[0].level;
          this.score = res.data[0].id;
        }
      );
      this.hulijilu = "Braden压疮评分:" + this.num + this.font;
    },
    //* ---------*

    //* 续页右侧弹框开始*
    rigthDiongs() {
      alert("2223");
    },
    // 获取续页右侧护理记录id
    son(item, index) {
      this.rightid = item.id;
      this.isActive = index;
      this.s1 = index;
      this.s2 = index;
      getListlei({
        templateItemName: "",
        templateId: this.rightid,
        size: this.PageSize,
        start: this.start,
      }).then((res) => {
        this.tableDataRight = res.data;
        this.totalCount = res.totalCount;
      });
    },
    // 护理单table接口
    getListlei(n1, n2) {
      getListlei({
        templateItemName: "",
        templateId: this.rightid,
        size: n1,
        start: n2,
      }).then((res) => {
        this.tableDataRight = res.data;
        this.totalCount = res.totalCount;
      });
    },
    // 分页
    handleSizeChange(val) {
      // 改变每页显示的条数
      this.PageSize = val;
      this.getListlei(val, 1);
      this.start = 1;
    },
    // 显示第几页
    handleCurrentChange(val) {
      this.start = val;
      this.getListlei(this.PageSize, this.start);
    },
    // 右侧弹窗搜索
    btnRight() {
      getListlei({ templateItemName: this.moban }).then((res) => {
        this.tableDataRight = res.data;
      });
    },
    // 右侧护理记录·选择
    setLine(index) {
      console.log(index, "index");
      this.centent = index.content;
      nursingRecordEdit({
        id: this.idds,
        dataTime: this.time + " " + this.timesss + ":00",
        content: index.content,
        operatorCode: this.names,
      }).then((res) => {
        this.recode();
      });
    },

    // 方便调用
    recode() {
      getListByCode({
        code: "nursingRecordContent",
        status: 1,
        patientId: this.info.patient_id,
      }).then((res) => {
        this.tableDatarecord = res.data;
      });
    },
    //* 续页右侧弹框结束*
  },
};
</script>

<style scoped>
.line {
  text-align: center;
}
.block {
  position: absolute;
  top: 39px;
  right: 14%;
}
.warp {
  width: 840px;
  height: 1550px;
  /* border: 1px solid #000; */
  margin: 0 auto;
}
.title_one {
  font-size: 14px;
  font-weight: 900;
  margin-top: 5px;
  margin-bottom: 5px;
}
.one {
  width: 100px;
  display: block;
  float: left;
}
.app-container /deep/ .el-input__inner {
  border: none;
  border-bottom: 1px solid #dcdfe6;
}
.tiwen {
  width: 30px;
  border: 0px;
  border-bottom: 1px solid #dcdfe6;
  outline: none;
  position: absolute;
}
.el-checkbox {
  margin-right: 19px !important;
}
.spp .el-checkbox {
  margin-right: 60px !important;
}
.spps .customer-checkbox {
  margin-right: 60px !important;
}
.mod_box {
  margin-top: -60px;
  width: 2150px;
  margin-left: 15%;
}
.mod_box1 {
  margin-top: -60px;
  width: 75%;
  margin-left: 15%;
}
.mod_box2 {
  margin-top: -60px;
  width: 1800px;
  margin-left: 15%;
}
.morse-cri {
  height: 50px;
  line-height: 60px;
}
.morseTj {
  height: 60px;
}

.morse {
  float: left;
  font-size: 16px;
  font-weight: 700;
  color: #303133;
  margin-top: 1px;
}
.morsePrint {
  height: 50px;
  border-bottom: 1px solid #e8eaec;
}
.morseText {
  float: left;
  font-size: 18px;
  margin-top: 16px;
  color: #17233d;
  font-weight: 500;
}
.morse1 {
  float: right;
  font-size: 16px;
  font-weight: 700;
  color: #303133;
  margin-top: 1px;
  margin-right: 40px;
}
.Scoring {
  float: right;
}
.Synchronize {
  display: inline-block;
  margin-bottom: 15px;
}
.Nursing {
  display: inline-block;
  line-height: 54px;
  height: 70px;
}
.newadd {
  height: 40px;
  color: #fff;
  line-height: 15px;
  text-align: center;
  position: relative;
  font-size: 15px;
  border-radius: 5px;
  display: inline-block;
  background: #19be6b;
  float: right;
}
.role-mask {
  border-radius: 6px;
}
.role-mask .el-dialog__header {
  border-bottom: 1px solid #e8eaec;
}

.role-mask .el-dialog__body {
  padding: 0px 20px 15px;
  color: #606266;
  font-size: 14px;
  word-break: break-all;
}

.role-mask .el-dialog__footer {
  border-top: 1px solid #e8eaec;
}

/* 续页右侧护理记录开始*/
.paging {
  float: left;
  margin-top: 22px;
  margin-bottom: 30px;
  /* margin-left: 54%; */
}
.modelBox {
  height: 175px;
  width: 90%;
  margin: 25px 0px 15px 40px;
}
#modelItem {
  width: 118px;
  height: 77px;
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #dcdee2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
}

#modelItem span {
  margin: 0 auto;
  display: inline-block;
  width: 110px;
  height: 20px;
  text-align: center;
  line-height: 20px;
}

#text {
  font-weight: 500;
}
#textn {
  font-size: 14px;
  font-weight: normal;
  color: #6a6b6d;
}
.isActive {
  box-shadow: rgb(92, 173, 255) 0px 0px 3px;
  background-color: rgb(45, 140, 240);
}
.s1 {
  color: #fff;
}
.s2 {
  color: #fff;
}

.jiansuo-box {
  width: 94%;
  margin: auto;
  background: aliceblue;
  height: 80px;
  border-radius: 5px;
  border: 1px solid #dcdee2;
  text-align: center;
  line-height: 80px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
.kaiguan {
  display: inline-block;
  margin-left: 5px;
}

.kuangBox {
  display: inline;
  margin-right: 9%;
}
.span_top {
  position: relative;
  font-size: 15px;
  line-height: 50px;
}
.bed {
  width: 200px;
  position: relative;
  left: 0%;
}
/* 续页右侧护理记录结束*/
@media screen and (min-width: 1200px) and (max-width: 1365px) {
  .mod_box2 {
    width: 1800px;
    margin-left: -18%;
  }
}
@media screen and (min-width: 1366px) and (max-width: 1600px) {
  .mod_box2 {
    width: 1800px;
    margin-left: -9%;
  }
}
@media screen and (min-width: 1800px) {
  .mod_box2 {
    width: 1800px;
    margin-left: 7%;
  }
}
</style>

